Skip to content

Where params don't allow to specify NOT clause or equals to undefined / null. #80

@1pxone

Description

@1pxone

Tried to accomplish smth like this:

findRelationships({
    alias: 'Projects',
    where: {
        source: {
            id: id,
        },
        target: {
            deleted: null, // undefined or smth
        },
    },
    session: transaction,
}

Here I needed to fetch all Projects without deleted property. When Project is being deleted it gets ISO8601 string set into deleted property.

Are there any workarounds to solve this? (except raw cypher)
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions