MCPcopy
hub / github.com/pocketbase/pocketbase / FindRecordById

Method FindRecordById

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

FindRecordById finds the Record model by its id.

(collectionModelOrIdentifier any, recordId string, optFilters ...func(q *dbx.SelectQuery) error)

Source from the content-addressed store, hash-verified

576
577 // FindRecordById finds the Record model by its id.
578 FindRecordById(collectionModelOrIdentifier any, recordId string, optFilters ...func(q *dbx.SelectQuery) error) (*Record, error)
579
580 // FindRecordsByIds finds all records by the specified ids.
581 // If no records are found, returns an empty slice.

Calls

no outgoing calls