MCPcopy Index your code
hub / github.com/upper/db / Update

Method Update

sql.go:81–81  ·  view source on GitHub ↗

Update prepares and returns an Updater targeted at the given table. Example: q := sqlbuilder.Update("profile").Set(...).Where(...)

(table string)

Source from the content-addressed store, hash-verified

79 //
80 // q := sqlbuilder.Update("profile").Set(...).Where(...)
81 Update(table string) Updater
82
83 // Exec executes a SQL query that does not return any rows, like sql.Exec.
84 // Queries can be either strings or upper-db statements.

Callers 15

recordUpdateFunction · 0.65
buildUpdateMethod · 0.65
UpdateReturningMethod · 0.65
BenchmarkUpdate1Function · 0.65
BenchmarkUpdate2Function · 0.65
BenchmarkUpdate3Function · 0.65
BenchmarkUpdate4Function · 0.65
BenchmarkUpdate5Function · 0.65
TestUpdateMethod · 0.65
TestOptionTypesMethod · 0.65
TestTemplateUpdateFunction · 0.65

Implementers 1

sqlBuilderinternal/sqlbuilder/builder.go

Calls

no outgoing calls

Tested by 14

BenchmarkUpdate1Function · 0.52
BenchmarkUpdate2Function · 0.52
BenchmarkUpdate3Function · 0.52
BenchmarkUpdate4Function · 0.52
BenchmarkUpdate5Function · 0.52
TestOptionTypesMethod · 0.52
TestTemplateUpdateFunction · 0.52
TestUpdateMethod · 0.52
TestTemplateUpdateFunction · 0.52
TestTemplateUpdateFunction · 0.52
TestTemplateUpdateFunction · 0.52
TestOptionTypesMethod · 0.52