MCPcopy
hub / github.com/pocketbase/pocketbase / ModelQuery

Method ModelQuery

core/app.go:292–292  ·  view source on GitHub ↗

--------------------------------------------------------------- ModelQuery creates a new preconfigured select data.db query with preset SELECT, FROM and other common fields based on the provided model.

(model Model)

Source from the content-addressed store, hash-verified

290 // ModelQuery creates a new preconfigured select data.db query with preset
291 // SELECT, FROM and other common fields based on the provided model.
292 ModelQuery(model Model) *dbx.SelectQuery
293
294 // AuxModelQuery creates a new preconfigured select auxiliary.db query with preset
295 // SELECT, FROM and other common fields based on the provided model.

Callers 7

TestReloadSettingsFunction · 0.65
validateCollectionIdFunction · 0.65
TestModelQueryFunction · 0.65
onCollectionValidateFunction · 0.65
checkUniqueNameMethod · 0.65
findCustomUserByEmailFunction · 0.65

Calls

no outgoing calls

Tested by 4

TestReloadSettingsFunction · 0.52
TestModelQueryFunction · 0.52
findCustomUserByEmailFunction · 0.52