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

Add support for exists predicate #22

Closed
beikov opened this issue Nov 13, 2018 · 1 comment
Closed

Add support for exists predicate #22

beikov opened this issue Nov 13, 2018 · 1 comment

Comments

@beikov
Copy link
Member

beikov commented Nov 13, 2018

I would count the exists predicate into the COLLECTION predicate types class. The use could look like this EXISTS (document.users.email = '[email protected]' AND document.users.active)
The parenthesis are optional for a simple predicate but necessary if composite predicates should be considered in the exists predicate.
The semantics of this could be WHERE EXISTS(SELECT 1 FROM document.users u WHERE u.email = '[email protected]' AND u.active = TRUE).
I would work on the query translation to make this work properly as I think this will be a very helpful tool for many use cases.

@beikov
Copy link
Member Author

beikov commented Apr 14, 2019

Migrated to Blazebit/blaze-domain#8

@beikov beikov closed this as completed Apr 14, 2019
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