Back

[SOLVED] Query.select is not a function

  • 0
  • Databases
  • Web
fshehzad
7 Aug, 2023, 11:56

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.

TL;DR
The user is facing an issue where Query.select is not a function in their SvelteKit app using the Appwrite web SDK. The issue was resolved by upgrading the SDK version to 11.0.0.
joeyouss
7 Aug, 2023, 12:12

ok

fshehzad
7 Aug, 2023, 12:16

Sorry actually this is an issue. the other post i found was related to the server sdk

joeyouss
7 Aug, 2023, 12:21

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

fshehzad
7 Aug, 2023, 12:22

sorry

fshehzad
7 Aug, 2023, 12:22

I am on version 10.2

fshehzad
7 Aug, 2023, 12:30

Hi Jyoti, thanks for looking into this. I think upgrading the version to 11 resolves this.

joeyouss
7 Aug, 2023, 12:32

you tried it?

fshehzad
7 Aug, 2023, 12:33

yeh just installed the newwer version and the ide is now able to locate the select function on the Query class

fshehzad
7 Aug, 2023, 12:33

I think I must have been looking at newer docs. is there a way to select the docs for a specific version?

joeyouss
7 Aug, 2023, 12:37

that is hmm a nice recommendation but I do know we are working on updating docs

joeyouss
7 Aug, 2023, 12:37

awesome, closing this since it is solved now

fshehzad
7 Aug, 2023, 12:37

thanks for the quick assist

joeyouss
7 Aug, 2023, 12:41

always ❤️

joeyouss
7 Aug, 2023, 12:41

please feel free to open support posts whenever you need help!

joeyouss
7 Aug, 2023, 12:41

[SOLVED] Query.select is not a function

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more