I am just curious to know how many Queries can we pass in array .
databases.listDocuments(
'[DATABASE_ID]',
'[COLLECTION_ID]',
[
Query.equal('title', ['Avatar', 'Lord of the Rings']),
Query.greaterThan('year', 1999)
]
);
TL;DR
You can pass a maximum of 100 queries, with each query being 4096 characters long. In the example provided, an array of two queries is being passed. The first query checks for the "title" field to be equal to either "Avatar" or "Lord of the Rings", while the second query checks for the "year" field to be greater than 1999.