MCPcopy Create free account
hub / github.com/upper/db / Update

Method Update

internal/sqlbuilder/builder.go:230–235  ·  view source on GitHub ↗
(table string)

Source from the content-addressed store, hash-verified

228}
229
230func (b *sqlBuilder) Update(table string) db.Updater {
231 qu := &updater{
232 builder: b,
233 }
234 return qu.setTable(table)
235}
236
237// Map receives a pointer to map or struct and maps it to columns and values.
238func Map(item interface{}, options *MapOptions) ([]string, []interface{}, error) {

Callers 1

TestUpdateFunction · 0.95

Calls 1

setTableMethod · 0.95

Tested by 1

TestUpdateFunction · 0.76