Hi, I am having some issues using the Query class in appwrite. I am trying to use Query.select as per the documention on a document collection but I get an error saying Query.select is not a function. The app is a SvelteKit app using the web sdk.
ok
Sorry actually this is an issue. the other post i found was related to the server sdk
I would recommend not deleting the messages 😅 btw what version are you on ? since: https://github.com/appwrite/sdk-for-web/releases/tag/11.0.0
sorry
I am on version 10.2
Hi Jyoti, thanks for looking into this. I think upgrading the version to 11 resolves this.
you tried it?
yeh just installed the newwer version and the ide is now able to locate the select function on the Query class
I think I must have been looking at newer docs. is there a way to select the docs for a specific version?
that is hmm a nice recommendation but I do know we are working on updating docs
awesome, closing this since it is solved now
thanks for the quick assist
always ❤️
please feel free to open support posts whenever you need help!
[SOLVED] Query.select is not a function
Recommended threads
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- Different appwrite IDs are getting expos...
File_URL_FORMAT= https://cloud.appwrite.io/v1/storage/buckets/[BUCKET_ID]/files/[FILE_ID]/preview?project=[PROJECT_ID] I'm trying to access files in my web app...
- Invalid document structure: missing requ...
I just pick up my code that's working a week ago, and now I got this error: ``` code: 400, type: 'document_invalid_structure', response: { message: 'Inv...