{ "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
- Scheduled works locking the entire Maria...
I have a scheduled function and apparently that or something is locking the entire MariaDB database and Appwrite is giving MariaDB errors. This error persists e...
- Need help to create a wrapper which let ...
I’m looking for help setting up Appwrite properly on a VPS so I can build a self-hosting wrapper around it. The goal is to provide a Linux executable that allow...
- Use Limits
I need urgent help, i use appwrite as a chat function for my website and my mobile android application, but recently, for the past 3 months, my database reaches...