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

Subquery in RSQLCustomPredicate #53

Open
Adam-Czerwinski opened this issue Sep 3, 2021 · 0 comments
Open

Subquery in RSQLCustomPredicate #53

Adam-Czerwinski opened this issue Sep 3, 2021 · 0 comments

Comments

@Adam-Czerwinski
Copy link

Hey, is it possible to use subquery when registering custom predicates?

for example I want to achieve:
SELECT * from table_a a WHERE EXISTS (SELECT 1 FROM table_b b WHERE ...)

class RSQLCustomPredicateInput does not have any CriteriaQuery that I can use for subqery.

eventually I would like to use input.getCriteriaBuilder().exists(subqery)

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

No branches or pull requests

1 participant