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
panda.
01/27/2022, 4:17 PM
well i didn't
panda.
01/27/2022, 4:18 PM
that's why im asking
panda.
01/27/2022, 4:18 PM
but i figured since this probably is transformed into sql that would be possible
g
garyaustin
01/27/2022, 4:22 PM
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.