themetalfleece / neogma

Object-Graph-Mapping neo4j framework, Fully-typed with TypeScript, for easy and flexible node and relationship operations
https://themetalfleece.github.io/neogma/
MIT License
117 stars 12 forks source link

Limit & Skip issue #91

Closed BOISSARD closed 8 months ago

BOISSARD commented 8 months ago

Hello

When using LIMIT and SKIP in the same query (findMany for instance) it gives me an issue because it generates something like :

MATCH (Node) RETURN Node ASC LIMIT $limit SKIP $skip

But it should be like

MATCH (Node) RETURN Node ASC SKIP $skip LIMIT $limit 

to work properly.

SKIP should appears before LIMIT

Thank you for your incredible work

BOISSARD commented 8 months ago

My bad I wasn't up to date

themetalfleece commented 8 months ago

Hey, thanks for your kind words :) Indeed it was an issue (#43) that was fixed on version v.1.10.3