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.
- Interactive Sample
- Plain Code
Click here to pop out if the embed doesn't load an interactive terminal.
main.ts
Loading...
To count relations, please use a find
API with the special _count
field as demonstrated in the Find section.