count for rpc that returns a table? #4676
-
I have a postgres function that returns a table
(truncated for brevity) And I call it like this
But I'd also like to get the total count of all rows, similar to a standard select
But it seems like count only exists on SupabaseQueryBuilder and not PostgresTransformBuilder. Am I missing something, or is this a missing feature? Since the function returns a table, is it possible to port count to |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Just to note that rpc does support an |
Beta Was this translation helpful? Give feedback.
Just to note that rpc does support an
exact: count
at the PostgREST side. This should be raised as a feature request on postgrest-js