@squidcloud/client 1.0.112 → 1.0.113
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/dist/cjs/index.js
CHANGED
|
@@ -31891,7 +31891,6 @@ class QueryBuilder extends BaseQueryBuilder {
|
|
|
31891
31891
|
getLimit() {
|
|
31892
31892
|
return this.query.limit;
|
|
31893
31893
|
}
|
|
31894
|
-
/** @internal */
|
|
31895
31894
|
limitBy(limit, ...fields) {
|
|
31896
31895
|
this.query.limitBy = { limit, fields, reverseSort: false };
|
|
31897
31896
|
return this;
|
|
@@ -16,6 +16,7 @@ export declare class QueryBuilder<DocumentType extends DocumentData> extends Bas
|
|
|
16
16
|
/** @inheritDoc */
|
|
17
17
|
limit(limit: number): this;
|
|
18
18
|
getLimit(): number;
|
|
19
|
+
limitBy(limit: number, ...fields: FieldName[]): this;
|
|
19
20
|
/** @inheritDoc */
|
|
20
21
|
sortBy(fieldName: keyof DocumentType & FieldName, asc?: boolean): this;
|
|
21
22
|
private mergeConditions;
|