@@ -39,7 +39,7 @@ const awaitPools = {
3939 const { attributes: remoteAttributes } = await databasesListAttributes({
4040 databaseId,
4141 collectionId,
42- limit: 100,
42+ queries: [ 'limit( 100)' ] ,
4343 parseOutput: false
4444 });
4545
@@ -59,7 +59,7 @@ const awaitPools = {
5959 const { indexes: remoteIndexes } = await databasesListIndexes({
6060 databaseId,
6161 collectionId,
62- limit: 100,
62+ queries: [ 'limit( 100)' ] ,
6363 parseOutput: false
6464 });
6565
@@ -79,7 +79,7 @@ const awaitPools = {
7979 const { attributes: remoteAttributes } = await databasesListAttributes({
8080 databaseId,
8181 collectionId,
82- limit: 100,
82+ queries: [ 'limit( 100)' ] ,
8383 parseOutput: false
8484 });
8585
@@ -111,7 +111,7 @@ const awaitPools = {
111111 const { indexes: remoteIndexes } = await databasesListIndexes({
112112 databaseId,
113113 collectionId,
114- limit: 100,
114+ queries: [ 'limit( 100)' ] ,
115115 parseOutput: false
116116 });
117117
@@ -194,7 +194,7 @@ const deployFunction = async ({ functionId, all, yes } = {}) => {
194194 // TODO: Pagination?
195195 const { variables: remoteVariables } = await functionsListVariables({
196196 functionId: func['$id'],
197- limit: 100,
197+ queries: [ 'limit( 100)' ] ,
198198 parseOutput: false
199199 });
200200
@@ -468,7 +468,7 @@ const deployCollection = async ({ all, yes } = {}) => {
468468 const { indexes: remoteIndexes } = await databasesListIndexes({
469469 databaseId,
470470 collectionId: collection['$id'],
471- limit: 100,
471+ queries: [ 'limit( 100)' ] ,
472472 parseOutput: false
473473 });
474474
@@ -490,7 +490,7 @@ const deployCollection = async ({ all, yes } = {}) => {
490490 const { attributes: remoteAttributes } = await databasesListAttributes({
491491 databaseId,
492492 collectionId: collection['$id'],
493- limit: 100,
493+ queries: [ 'limit( 100)' ] ,
494494 parseOutput: false
495495 });
496496
0 commit comments