MCPcopy
hub / github.com/pocketbase/pocketbase / Model

Method Model

core/db_builder.go:25–27  ·  view source on GitHub ↗

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

(data interface{})

Source from the content-addressed store, hash-verified

23
24// Model implements the [dbx.Builder.Model] interface method.
25func (b *dualDBBuilder) Model(data interface{}) *dbx.ModelQuery {
26 return b.nonconcurrentDB.Model(data)
27}
28
29// GeneratePlaceholder implements the [dbx.Builder.GeneratePlaceholder] interface method.
30func (b *dualDBBuilder) GeneratePlaceholder(i int) string {

Callers 9

ReloadSettingsMethod · 0.80
TestReloadSettingsFunction · 0.80
createMethod · 0.80
updateMethod · 0.80
validateCollectionIdFunction · 0.80
onCollectionValidateFunction · 0.80
checkUniqueNameMethod · 0.80
migrateOldCollectionsFunction · 0.80

Calls

no outgoing calls

Tested by 2

TestReloadSettingsFunction · 0.64