MCPcopy
hub / github.com/pocketbase/pocketbase / Insert

Method Insert

core/db_builder.go:55–57  ·  view source on GitHub ↗

Insert implements the [dbx.Builder.Insert] interface method.

(table string, cols dbx.Params)

Source from the content-addressed store, hash-verified

53
54// Insert implements the [dbx.Builder.Insert] interface method.
55func (b *dualDBBuilder) Insert(table string, cols dbx.Params) *dbx.Query {
56 return b.nonconcurrentDB.Insert(table, cols)
57}
58
59// Upsert implements the [dbx.Builder.Upsert] interface method.
60func (b *dualDBBuilder) Upsert(table string, cols dbx.Params, constraints ...string) *dbx.Query {

Callers 7

createTestDBFunction · 0.80
createMethod · 0.80
addMethod · 0.80
saveAppliedMigrationMethod · 0.80

Calls

no outgoing calls