Count
You can use the count method to count the number of records that match a query. It also allows to count non-null field values with an select clause.
- Plain Code
- Interactive Sample
main.ts
Loading...
Click here to pop out if the embed doesn't load an interactive terminal.
To count relations, please use a find API with the special _count field as demonstrated in the Find section.