npm package diff

Package: @forge/migrations

Versions: 0.6.2-experimental-10722bc - 1.0.0-next.4

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,15 +13,21 @@
             ...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);
+        return this.migration.list(this.queryOptions, this.queryOptions.limit);
     }
 }
 exports.DefaultQueryBuilder = DefaultQueryBuilder;