npm package diff
Package: @forge/migrations
Versions: 1.0.0-next.3-experimental-c7a7d36 - 0.6.2-experimental-204139e
File: package/out/migration/query-api.js
Index: package/out/migration/query-api.js
===================================================================
--- package/out/migration/query-api.js
+++ package/out/migration/query-api.js
@@ -13,21 +13,15 @@
...this.queryOptions,
cursor
});
}
- limit(limit) {
- return new DefaultQueryBuilder(this.migration, {
- ...this.queryOptions,
- limit
- });
- }
async getOne() {
const listResults = await this.migration.list(this.queryOptions, 1);
if (listResults.results && listResults.results.length > 0) {
return listResults.results[0];
}
}
async getMany() {
- return this.migration.list(this.queryOptions, this.queryOptions.limit);
+ return this.migration.list(this.queryOptions);
}
}
exports.DefaultQueryBuilder = DefaultQueryBuilder;