Skip to content

Commit

Permalink
fix: update skip and take methods returns
Browse files Browse the repository at this point in the history
  • Loading branch information
kiddyuchina committed Aug 8, 2024
1 parent 840c9b7 commit a1a2193
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/query-builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@ class QueryBuilder {
}

skip(...args) {
return this.connector.offset(...args);
return this.offset(...args);
}

take(...args) {
return this.connector.limit(...args);
return this.limit(...args);
}

async chunk(count, callback) {
Expand Down

0 comments on commit a1a2193

Please sign in to comment.