MCPcopy
hub / github.com/pocketbase/pocketbase / FindCollectionByNameOrId

Method FindCollectionByNameOrId

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

FindCollectionByNameOrId finds a single collection by its name (case insensitive) or id.s

(nameOrId string)

Source from the content-addressed store, hash-verified

401
402 // FindCollectionByNameOrId finds a single collection by its name (case insensitive) or id.s
403 FindCollectionByNameOrId(nameOrId string) (*Collection, error)
404
405 // FindCachedCollectionByNameOrId is similar to [App.FindCollectionByNameOrId]
406 // but retrieves the Collection from the app cache instead of making a db call.

Calls

no outgoing calls