@@ -39,7 +39,7 @@ const awaitPools = {
39
39
const { attributes: remoteAttributes } = await databasesListAttributes({
40
40
databaseId,
41
41
collectionId,
42
- limit: 100,
42
+ queries: [ 'limit( 100)' ] ,
43
43
parseOutput: false
44
44
});
45
45
@@ -59,7 +59,7 @@ const awaitPools = {
59
59
const { indexes: remoteIndexes } = await databasesListIndexes({
60
60
databaseId,
61
61
collectionId,
62
- limit: 100,
62
+ queries: [ 'limit( 100)' ] ,
63
63
parseOutput: false
64
64
});
65
65
@@ -79,7 +79,7 @@ const awaitPools = {
79
79
const { attributes: remoteAttributes } = await databasesListAttributes({
80
80
databaseId,
81
81
collectionId,
82
- limit: 100,
82
+ queries: [ 'limit( 100)' ] ,
83
83
parseOutput: false
84
84
});
85
85
@@ -111,7 +111,7 @@ const awaitPools = {
111
111
const { indexes: remoteIndexes } = await databasesListIndexes({
112
112
databaseId,
113
113
collectionId,
114
- limit: 100,
114
+ queries: [ 'limit( 100)' ] ,
115
115
parseOutput: false
116
116
});
117
117
@@ -194,7 +194,7 @@ const deployFunction = async ({ functionId, all, yes } = {}) => {
194
194
// TODO: Pagination?
195
195
const { variables: remoteVariables } = await functionsListVariables({
196
196
functionId: func['$id'],
197
- limit: 100,
197
+ queries: [ 'limit( 100)' ] ,
198
198
parseOutput: false
199
199
});
200
200
@@ -468,7 +468,7 @@ const deployCollection = async ({ all, yes } = {}) => {
468
468
const { indexes: remoteIndexes } = await databasesListIndexes({
469
469
databaseId,
470
470
collectionId: collection['$id'],
471
- limit: 100,
471
+ queries: [ 'limit( 100)' ] ,
472
472
parseOutput: false
473
473
});
474
474
@@ -490,7 +490,7 @@ const deployCollection = async ({ all, yes } = {}) => {
490
490
const { attributes: remoteAttributes } = await databasesListAttributes({
491
491
databaseId,
492
492
collectionId: collection['$id'],
493
- limit: 100,
493
+ queries: [ 'limit( 100)' ] ,
494
494
parseOutput: false
495
495
});
496
496
0 commit comments