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 query params in return limit #1654

Merged
merged 3 commits into from Jan 23, 2024

Conversation

DavIvek
Copy link
Contributor

@DavIvek DavIvek commented Jan 19, 2024

With this PR, the user is able to use the parameter for the limit in return body of the query.
Following query is possible:
MATCH (n) RETURN n LIMIT $limit;

[master < Task] PR

  • Check, and update documentation if necessary
  • Provide the full content or a guide for the final git message

To keep docs changelog up to date, one more thing to do:

  • Write a release note here, including added/changed clauses
  • Tag someone from docs team in the comments

closes #1537

@DavIvek DavIvek added this to the mg-v2.15.0 milestone Jan 19, 2024
@DavIvek DavIvek self-assigned this Jan 19, 2024
@DavIvek DavIvek added the Docs needed Docs needed label Jan 19, 2024
@DavIvek DavIvek marked this pull request as ready for review January 19, 2024 14:08
@DavIvek DavIvek changed the title Add support for query params for limit in return body Add support for query params in return limit Jan 19, 2024
Copy link
Contributor

@antepusic antepusic left a comment

Choose a reason for hiding this comment

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

Looks good to me

@DavIvek DavIvek merged commit 6706ebf into master Jan 23, 2024
7 checks passed
@DavIvek DavIvek deleted the add-query-params-for-limit branch January 23, 2024 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Docs needed Docs needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for using variables in the LIMIT clause.
2 participants