Skip to content

Add support for exists predicate #8

@beikov

Description

@beikov

Migrated from Blazebit/blaze-notify#22

I would count the exists predicate into the COLLECTION predicate types class. The use could look like this EXISTS (document.users.email = 'some@email.com' 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 = 'some@email.com' 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions