diff --git a/app/config/specs/open-api3-latest-client.json b/app/config/specs/open-api3-latest-client.json index bede318721..3214791727 100644 --- a/app/config/specs/open-api3-latest-client.json +++ b/app/config/specs/open-api3-latest-client.json @@ -4348,7 +4348,7 @@ }, { "name": "queries", - "description": "Array of query strings generated using the Query class provided by the SDK. Query strings are in form of JSON strings like: {\"method\":\"equal\", \"attribute\":\"\", \"values\":[]}. Available query methods: equal, notEqual, lessThan, lessThanEqual, greaterThan, greaterThanEqual, contains, between, search, select, orderDesc, orderAsc, isNull, isNotNull, startsWith, endsWith, limit, offset. Available query methods: equal, notEqual, lessThan, lessThanEqual, greaterThan, greaterThanEqual, contains, between, search, select, orderDesc, orderAsc, isNull, isNotNull, startsWith, endsWith, limit, offset. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long.", + "description": "Array of query strings generated using the Query class provided by the SDK. Query strings are in form of JSON strings like: {\"method\":\"equal\", \"attribute\":\"\", \"values\":[]}. Available query methods: equal, notEqual, lessThan, lessThanEqual, greaterThan, greaterThanEqual, contains, between, search, select, orderDesc, orderAsc, isNull, isNotNull, startsWith, endsWith, limit, offset. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long.", "required": false, "schema": { "type": "array", diff --git a/app/config/specs/open-api3-latest-console.json b/app/config/specs/open-api3-latest-console.json index 4dd3f33e8d..2f89204747 100644 --- a/app/config/specs/open-api3-latest-console.json +++ b/app/config/specs/open-api3-latest-console.json @@ -7802,7 +7802,7 @@ }, { "name": "queries", - "description": "Array of query strings generated using the Query class provided by the SDK. Query strings are in form of JSON strings like: {\"method\":\"equal\", \"attribute\":\"\", \"values\":[]}. Available query methods: equal, notEqual, lessThan, lessThanEqual, greaterThan, greaterThanEqual, contains, between, search, select, orderDesc, orderAsc, isNull, isNotNull, startsWith, endsWith, limit, offset. Available query methods: equal, notEqual, lessThan, lessThanEqual, greaterThan, greaterThanEqual, contains, between, search, select, orderDesc, orderAsc, isNull, isNotNull, startsWith, endsWith, limit, offset. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long.", + "description": "Array of query strings generated using the Query class provided by the SDK. Query strings are in form of JSON strings like: {\"method\":\"equal\", \"attribute\":\"\", \"values\":[]}. Available query methods: equal, notEqual, lessThan, lessThanEqual, greaterThan, greaterThanEqual, contains, between, search, select, orderDesc, orderAsc, isNull, isNotNull, startsWith, endsWith, limit, offset. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long.", "required": false, "schema": { "type": "array", diff --git a/app/config/specs/open-api3-latest-server.json b/app/config/specs/open-api3-latest-server.json index e5fb6831e9..5e153ef1f2 100644 --- a/app/config/specs/open-api3-latest-server.json +++ b/app/config/specs/open-api3-latest-server.json @@ -7360,7 +7360,7 @@ }, { "name": "queries", - "description": "Array of query strings generated using the Query class provided by the SDK. Query strings are in form of JSON strings like: {\"method\":\"equal\", \"attribute\":\"\", \"values\":[]}. Available query methods: equal, notEqual, lessThan, lessThanEqual, greaterThan, greaterThanEqual, contains, between, search, select, orderDesc, orderAsc, isNull, isNotNull, startsWith, endsWith, limit, offset. Available query methods: equal, notEqual, lessThan, lessThanEqual, greaterThan, greaterThanEqual, contains, between, search, select, orderDesc, orderAsc, isNull, isNotNull, startsWith, endsWith, limit, offset. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long.", + "description": "Array of query strings generated using the Query class provided by the SDK. Query strings are in form of JSON strings like: {\"method\":\"equal\", \"attribute\":\"\", \"values\":[]}. Available query methods: equal, notEqual, lessThan, lessThanEqual, greaterThan, greaterThanEqual, contains, between, search, select, orderDesc, orderAsc, isNull, isNotNull, startsWith, endsWith, limit, offset. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long.", "required": false, "schema": { "type": "array", diff --git a/app/config/specs/swagger2-latest-client.json b/app/config/specs/swagger2-latest-client.json index cf7a875dd9..27dded546b 100644 --- a/app/config/specs/swagger2-latest-client.json +++ b/app/config/specs/swagger2-latest-client.json @@ -4525,7 +4525,7 @@ }, { "name": "queries", - "description": "Array of query strings generated using the Query class provided by the SDK. Query strings are in form of JSON strings like: {\"method\":\"equal\", \"attribute\":\"\", \"values\":[]}. Available query methods: equal, notEqual, lessThan, lessThanEqual, greaterThan, greaterThanEqual, contains, between, search, select, orderDesc, orderAsc, isNull, isNotNull, startsWith, endsWith, limit, offset. Available query methods: equal, notEqual, lessThan, lessThanEqual, greaterThan, greaterThanEqual, contains, between, search, select, orderDesc, orderAsc, isNull, isNotNull, startsWith, endsWith, limit, offset. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long.", + "description": "Array of query strings generated using the Query class provided by the SDK. Query strings are in form of JSON strings like: {\"method\":\"equal\", \"attribute\":\"\", \"values\":[]}. Available query methods: equal, notEqual, lessThan, lessThanEqual, greaterThan, greaterThanEqual, contains, between, search, select, orderDesc, orderAsc, isNull, isNotNull, startsWith, endsWith, limit, offset. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long.", "required": false, "type": "array", "collectionFormat": "multi", diff --git a/app/config/specs/swagger2-latest-console.json b/app/config/specs/swagger2-latest-console.json index 907d3fc007..419766123f 100644 --- a/app/config/specs/swagger2-latest-console.json +++ b/app/config/specs/swagger2-latest-console.json @@ -7986,7 +7986,7 @@ }, { "name": "queries", - "description": "Array of query strings generated using the Query class provided by the SDK. Query strings are in form of JSON strings like: {\"method\":\"equal\", \"attribute\":\"\", \"values\":[]}. Available query methods: equal, notEqual, lessThan, lessThanEqual, greaterThan, greaterThanEqual, contains, between, search, select, orderDesc, orderAsc, isNull, isNotNull, startsWith, endsWith, limit, offset. Available query methods: equal, notEqual, lessThan, lessThanEqual, greaterThan, greaterThanEqual, contains, between, search, select, orderDesc, orderAsc, isNull, isNotNull, startsWith, endsWith, limit, offset. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long.", + "description": "Array of query strings generated using the Query class provided by the SDK. Query strings are in form of JSON strings like: {\"method\":\"equal\", \"attribute\":\"\", \"values\":[]}. Available query methods: equal, notEqual, lessThan, lessThanEqual, greaterThan, greaterThanEqual, contains, between, search, select, orderDesc, orderAsc, isNull, isNotNull, startsWith, endsWith, limit, offset. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long.", "required": false, "type": "array", "collectionFormat": "multi", diff --git a/app/config/specs/swagger2-latest-server.json b/app/config/specs/swagger2-latest-server.json index 755069f862..c191dbc95b 100644 --- a/app/config/specs/swagger2-latest-server.json +++ b/app/config/specs/swagger2-latest-server.json @@ -7526,7 +7526,7 @@ }, { "name": "queries", - "description": "Array of query strings generated using the Query class provided by the SDK. Query strings are in form of JSON strings like: {\"method\":\"equal\", \"attribute\":\"\", \"values\":[]}. Available query methods: equal, notEqual, lessThan, lessThanEqual, greaterThan, greaterThanEqual, contains, between, search, select, orderDesc, orderAsc, isNull, isNotNull, startsWith, endsWith, limit, offset. Available query methods: equal, notEqual, lessThan, lessThanEqual, greaterThan, greaterThanEqual, contains, between, search, select, orderDesc, orderAsc, isNull, isNotNull, startsWith, endsWith, limit, offset. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long.", + "description": "Array of query strings generated using the Query class provided by the SDK. Query strings are in form of JSON strings like: {\"method\":\"equal\", \"attribute\":\"\", \"values\":[]}. Available query methods: equal, notEqual, lessThan, lessThanEqual, greaterThan, greaterThanEqual, contains, between, search, select, orderDesc, orderAsc, isNull, isNotNull, startsWith, endsWith, limit, offset. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long.", "required": false, "type": "array", "collectionFormat": "multi", diff --git a/app/controllers/api/databases.php b/app/controllers/api/databases.php index f35cce1e7a..ad54ed1828 100644 --- a/app/controllers/api/databases.php +++ b/app/controllers/api/databases.php @@ -3403,7 +3403,7 @@ App::get('/v1/databases/:databaseId/collections/:collectionId/documents') )) ->param('databaseId', '', new UID(), 'Database ID.') ->param('collectionId', '', new UID(), 'Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).') - ->param('queries', [], new ArrayList(new Text(APP_LIMIT_ARRAY_ELEMENT_SIZE), APP_LIMIT_ARRAY_PARAMS_SIZE), 'Array of query strings generated using the Query class provided by the SDK. Query strings are in form of JSON strings like: {"method":"equal", "attribute":"", "values":[]}. Available query methods: equal, notEqual, lessThan, lessThanEqual, greaterThan, greaterThanEqual, contains, between, search, select, orderDesc, orderAsc, isNull, isNotNull, startsWith, endsWith, limit, offset. Available query methods: equal, notEqual, lessThan, lessThanEqual, greaterThan, greaterThanEqual, contains, between, search, select, orderDesc, orderAsc, isNull, isNotNull, startsWith, endsWith, limit, offset. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of ' . APP_LIMIT_ARRAY_PARAMS_SIZE . ' queries are allowed, each ' . APP_LIMIT_ARRAY_ELEMENT_SIZE . ' characters long.', true) ->inject('response') + ->param('queries', [], new ArrayList(new Text(APP_LIMIT_ARRAY_ELEMENT_SIZE), APP_LIMIT_ARRAY_PARAMS_SIZE), 'Array of query strings generated using the Query class provided by the SDK. Query strings are in form of JSON strings like: {"method":"equal", "attribute":"", "values":[]}. Available query methods: equal, notEqual, lessThan, lessThanEqual, greaterThan, greaterThanEqual, contains, between, search, select, orderDesc, orderAsc, isNull, isNotNull, startsWith, endsWith, limit, offset. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of ' . APP_LIMIT_ARRAY_PARAMS_SIZE . ' queries are allowed, each ' . APP_LIMIT_ARRAY_ELEMENT_SIZE . ' characters long.', true) ->inject('response') ->inject('dbForProject') ->inject('queueForStatsUsage') ->action(function (string $databaseId, string $collectionId, array $queries, Response $response, Database $dbForProject, StatsUsage $queueForStatsUsage) {