@trenskow/pged 4.0.5 → 4.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/query-builder.js +1 -2
package/package.json
CHANGED
package/query-builder.js
CHANGED
|
@@ -35,7 +35,6 @@ module.exports = exports = class QueryBuilder extends CustomPromise {
|
|
|
35
35
|
this._having = [];
|
|
36
36
|
|
|
37
37
|
this._offset = 0;
|
|
38
|
-
this._limit = Infinity;
|
|
39
38
|
|
|
40
39
|
this._executor = executor;
|
|
41
40
|
|
|
@@ -130,7 +129,7 @@ module.exports = exports = class QueryBuilder extends CustomPromise {
|
|
|
130
129
|
return this;
|
|
131
130
|
}
|
|
132
131
|
|
|
133
|
-
limitTo(limit
|
|
132
|
+
limitTo(limit) {
|
|
134
133
|
this._limit = limit;
|
|
135
134
|
return this;
|
|
136
135
|
}
|