Jinq
Jinq copied to clipboard
EXISTS
Add a way to generate EXISTS queries because it's faster for some databases.
Hello. Is there any plan about this feature?
I didn’t have any particular plans for it, but if you need the feature, then I can try to take a look later this month.
I would appreciate for this. Thank you!
Just a reference note about EXISTS queries in JPQL so it's easy to find later:
https://jakarta.ee/specifications/persistence/3.0/jakarta-persistence-spec-3.0.html#exists-expressions
I've added an .exists() method to streams that will be translated into EXISTS subqueries. I've built new Maven versions with support for this, but I still need to work on documentation fixups and updating the website.
Documentation has now been updated, so support for exists() should now be complete.