You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's currently no good way to get the total count of records in a collection, besides sending a limitless GET query and counting the (possibly enormous) return in the client.
Implement some good way to get the record count for any given GET data query.
The text was updated successfully, but these errors were encountered:
Open question; should this be a separate /api endpoint like getting the collection model, or should this be a containing JSON object in all the return values, which puts the actual return data inside data and sends some other meta, including total record count in the top-level object?
The first one is possibly easier to implement and has fewer implications throughout the project; the second one seems more convenient for the user and more of a standard.
There's currently no good way to get the total count of records in a collection, besides sending a limitless
GET
query and counting the (possibly enormous) return in the client.Implement some good way to get the record count for any given
GET
data query.The text was updated successfully, but these errors were encountered: