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
In other databases in a response to a query such as SELECT Id, Name FROM myTable LIMIT 25 ... you have access to the full row count that is available, but not actually receive those rows (because of the LIMIT/START). This is often used in building API and similar paginations. Is there a mechanism like SQL_CALC_FOUND_ROWS this for Surrealdb?
In the NodeJS SDK there didn't seem to be anything in the client after the response that exposed such a thing.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In other databases in a response to a query such as
SELECT Id, Name FROM myTable LIMIT 25
... you have access to the full row count that is available, but not actually receive those rows (because of the LIMIT/START). This is often used in building API and similar paginations. Is there a mechanism like SQL_CALC_FOUND_ROWS this for Surrealdb?In the NodeJS SDK there didn't seem to be anything in the client after the response that exposed such a thing.
Thank you, happy holidays.
Beta Was this translation helpful? Give feedback.
All reactions