supabase / postgrest-js

Isomorphic JavaScript client for PostgREST.
https://supabase.com
MIT License
1.03k stars 133 forks source link

feat: query parser: Add support for aggregate functions #521

Closed bnjmnt4n closed 6 months ago

bnjmnt4n commented 6 months ago

What kind of change does this PR introduce?

Feature.

What is the current behavior?

Aggregate functions, added in Postgrest v12, are not supported in the query parser.

What is the new behavior?

Aggregate functions are now supported in the query parser.

Additional context

Closes #520.

I also split out some of logic into separate helper types and added more docs to make it slightly more comprehensible.

github-actions[bot] commented 6 months ago

:tada: This PR is included in version 1.14.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: