MCPcopy
hub / github.com/pocketbase/pocketbase / RecordQuery

Method RecordQuery

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

--------------------------------------------------------------- RecordQuery returns a new Record select query from a collection model, id or name. In case a collection id or name is provided and that collection doesn't actually exists, the generated query will be created with a cancelled context an

(collectionModelOrIdentifier any)

Source from the content-addressed store, hash-verified

573 // actually exists, the generated query will be created with a cancelled context
574 // and will fail once an executor (Row(), One(), All(), etc.) is called.
575 RecordQuery(collectionModelOrIdentifier any) *dbx.SelectQuery
576
577 // FindRecordById finds the Record model by its id.
578 FindRecordById(collectionModelOrIdentifier any, recordId string, optFilters ...func(q *dbx.SelectQuery) error) (*Record, error)

Callers 12

TestRecordQueryOneFunction · 0.65
TestRecordQueryAllFunction · 0.65
cascadeRecordDeleteFunction · 0.65
TruncateCollectionMethod · 0.65
oldCanAssignUsernameFunction · 0.65
wantsMFAFunction · 0.65
autoResolveRecordsFlagsFunction · 0.65
recordsListFunction · 0.65
dummyPasswordCheckFunction · 0.65

Calls

no outgoing calls