Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manage FILTER expression #44

Open
juliendelplanque opened this issue Jan 18, 2018 · 0 comments
Open

Manage FILTER expression #44

juliendelplanque opened this issue Jan 18, 2018 · 0 comments

Comments

@juliendelplanque
Copy link
Owner

Apparently, in a SELECT query, it is possible to do the following in the selected columns:

SELECT aggregate(col) FILTER(condition) FROM table;

Needs to be investigated, this is an aggregate expression and should be managed by the parser but apparently it is not.

Details here: https://www.postgresql.org/docs/9.4/static/sql-expressions.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant