Skip to content

Conversation

@anderson4j
Copy link
Collaborator

@anderson4j anderson4j commented Dec 12, 2025

Before we had support for queries like MATCH (n) WHERE n:A AND n:B AND n:C but only one special case for OR (for testing)

Now we support any OR-usage, even nested cases like MATCH (n) WHERE n:A AND n:B OR n:C AND n:D
(where AND is evaluated first, so we get n { OR(AND(A,B), AND(C,D)) } )

Also, we didnt support the &/|-syntax for and/or which can be used in MATCH, or as an alternative in WHERE. Now we do!
ex. MATCH (n:A&B) WHERE n:C|D -> n { AND(A, B, OR(C,D)) } )

Closes LS-5
Closes LS-6
Closes LS-84

@changeset-bot
Copy link

changeset-bot bot commented Dec 12, 2025

⚠️ No Changeset found

Latest commit: 0b41e88

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

]);
});

test('Symbol table contains anonymous variables', () => {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didnt add a dedicated test for these in the PR adding anon vars, but I figure its nice to have

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we have an example for anonymous relationship as well?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your wish is my command

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

Successfully merging this pull request may close these issues.

3 participants