{ "message": "Query method not valid: select", "code": 400, "type": "general_argument_invalid", "version": "0.10.51" }
How i am calling it:
const documentListResponse = await databases.listDocuments( process.env.NEXT_PUBLIC_DB_ID , process.env.NEXT_PUBLIC_COLLECTION_ID, [ Query.equal("user_id", user?.$id), Query.orderDesc("$createdAt"), Query.limit(10), Query.offset(offset), Query.select([ "user_id", "sol_id", "soltype", "solu_status", "cresed", ]), ] )
That query is not available on cloud because cloud is on version 1.1.2 but that query was added in 1.3.0
Ok Thanks, but its shown in documentation, so that's kinda condfusing. Please add some kind of Note there to let Devs know about this.
You can check documentation version for cloud selecting it from the dropdown menu
Recommended threads
- IMPORTANT! SOC-2 Request Failing
Issue requesting SOC-2. If tried other/private browser as well as filling in optional fields.
- Can you suppress row $meta data?
When using listRows with a 'select' query to limit the response [for performance], I'm still getting extra columns (eg. `$id`, `$sequence`, `$createdAt`, `$upda...
- CLI - get Database Totals
Is there a way with the Appwrite CLI to get table row totals (count)❓