Skip to content

Commit 82ed541

Browse files
committed
feat: create QueryAQLConverter
Signed-off-by: Otavio Santana <[email protected]>
1 parent fe7e094 commit 82ed541

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

jnosql-arangodb/src/main/java/org/eclipse/jnosql/databases/arangodb/communication/QueryAQLConverter.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ private static AQLQueryResult convert(String documentCollection,
9898
.append(", ").append(maxResult);
9999
} else if (maxResult > 0) {
100100
aql.append(LIMIT).append(maxResult);
101+
} else if(firstResult > 0) {
102+
aql.append(LIMIT).append(firstResult).append(", null");
101103
}
102104

103105
aql.append(conclusion).append(entity);

0 commit comments

Comments
 (0)