Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Aggregate functions on boolean #292
There is no typical aggregate function on boolean sur as bool_and and bool_or on postgresql (correspond to every and any on SQL)
Here you could find the aggregate functions on postgresl:
Yes, this is for an improvement.
Nothing fails as the function doen't exist yet...
I would use something like
That would generate (with postgresql):
My workaround is tu use
and verify if it's greater than 0
Querydsl uses any/all already in some other places, e.g. eqAll and eqAny, and any/all is also used in JPQL http://zawoad.blogspot.fi/2008/08/introduction-to-java-persistence-query.html
But I will think about it.