MCPcopy Index your code
hub / github.com/Masterminds/structable / Bind

Method Bind

structable.go:197–197  ·  view source on GitHub ↗

Bind this Recorder to a table and to a Record. The table name is used verbatim. DO NOT TRUST USER-SUPPLIED VALUES. The struct is examined for tags, and those tags are parsed and used to determine details about each field.

(string, Record)

Source from the content-addressed store, hash-verified

195 // The struct is examined for tags, and those tags are parsed and used to determine
196 // details about each field.
197 Bind(string, Record) Recorder
198
199 Loader
200 Haecceity

Callers 15

NewActRecFunction · 0.65
TestBindFunction · 0.65
TestLoadFunction · 0.65
TestLoadWhereFunction · 0.65
TestInsertFunction · 0.65
TestUpdateFunction · 0.65
TestDeleteFunction · 0.65
TestExistsFunction · 0.65

Implementers 1

DbRecorderstructable.go

Calls

no outgoing calls

Tested by 15

NewActRecFunction · 0.52
TestBindFunction · 0.52
TestLoadFunction · 0.52
TestLoadWhereFunction · 0.52
TestInsertFunction · 0.52
TestUpdateFunction · 0.52
TestDeleteFunction · 0.52
TestExistsFunction · 0.52