PocketBase.viewRecord

View the given record by id (base collections)

class PocketBase
public
RecordType
viewRecord
(
RecordType
)
(
string table
,
string id
)

Parameters

table string

the table to lookup the record in

id string

the id to lookup the record by

Return Value

Type: RecordType

The found record of type <code>RecordType</code>

Meta