list records
Arguments
- app
the application name
- api
the api to hit
- collection
the collection name or id
- ...
the query params as supported by PocketBase List/Search API
Examples
if (FALSE) {
ph_list_records(
app,
"/api/collections/",
collection = "nw_traffic",
perPage = 1,
sort = "-FLIGHT_DATE",
skipTotal = 1)
# get only subset of columns
ph_list_records(
app,
"/api/collections/",
collection = "nw_traffic",
sort = "-FLIGHT_DATE",
fields = "id,FLIGHT_DATE,DAY_TFC"
)
}