MCPcopy
hub / github.com/pocketbase/pocketbase / CollectionQuery

Method CollectionQuery

core/collection_query.go:19–21  ·  view source on GitHub ↗

CollectionQuery returns a new Collection select query.

()

Source from the content-addressed store, hash-verified

17
18// CollectionQuery returns a new Collection select query.
19func (app *BaseApp) CollectionQuery() *dbx.SelectQuery {
20 return app.ModelQuery(&Collection{})
21}
22
23// FindCollections finds all collections by the given type(s).
24//

Callers 4

FindAllCollectionsMethod · 0.95

Calls 1

ModelQueryMethod · 0.95

Tested by

no test coverage detected