Have you seen count used in the select fields docu...
# help
g
Have you seen count used in the select fields documented or used somewhere? I don't recall seeing that as an option. You probably have to use a view or rpc call unless you have seen this somewhere.
p
well i didn't
that's why im asking
but i figured since this probably is transformed into sql that would be possible
g
No. PostgREST which handles the API only supports a subset of what you can do in sql for performance, security and probably just code complexity reasons.
p
does the supabase client include an sql client?
it would be nice for dx