neo4j / cypher-builder

A library for building Cypher queries for Neo4j programmatically.
https://neo4j.github.io/cypher-builder/
Apache License 2.0
52 stars 14 forks source link

Add support for offset #420

Closed angrykoala closed 1 month ago

angrykoala commented 1 month ago

Add support for OFFSET alias for SKIP:

const matchQuery = new Cypher.Return(movieNode).orderBy([movieNode.property("age")]).offset(new Cypher.Param(10));
RETURN this0
ORDER BY this0.age ASC
OFFSET $param0
changeset-bot[bot] commented 1 month ago

🦋 Changeset detected

Latest commit: 77d87951a8d3e378a26b8bd96a95988d5111fadf

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | --------------------- | ----- | | @neo4j/cypher-builder | Patch |

Not sure what this means? Click here to learn what changesets are.

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

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud