Back

Using Query.select with getDocument

  • 0
  • Databases
  • Cloud
nachol_
16 Oct, 2024, 16:26

I'm using appwrite cloud (currently version 1.5) Using Query.select to retrieve only attributes I need do nothing. I get whole object. Does appwrite 1.5 support Query.select with getDocument?

TL;DR
Ensure you are using Appwrite Cloud version 1.6 and the updated SDK. `Query.select` was introduced in version 1.3. In version 1.5, there might be compatibility issues leading to receiving the whole object instead of selected attributes. To use `Query.select` with `getDocument`, consider upgrading to version 1.6 or later to ensure support for this feature.
hamed
16 Oct, 2024, 17:29

Appwrite Cloud is running version 1.6. Are you using a self-hosted version? Query.select was introduced in version 1.3, so make sure you're using the updated SDK

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