Back

[CLOSED] Query.select() throws an error

  • 0
  • Databases
  • Flutter
Infinil
20 Sep, 2023, 03:15

As soon as I remove that query it works normally.

appwrite sdk = 11.0.0 appwrite instance = 1.4.3

TL;DR
Title: Query.select() error in Appwrite SDK Messages: Query.select() function is causing an error. Closing the issue. It seems we need to handle this better with the SDK. The purpose was to allow developers to only get requested information, but there seems to be an issue with specific system attributes. Adding all system attributes automatically might be a solution. Using the updated SDK version 11.0.0 and instance version 1.4.3. Removing the query resolves the issue.
Infinil
20 Sep, 2023, 03:16

Query.select(['image', 'title']),

Infinil
20 Sep, 2023, 03:16

this is the query ^^

Drake
20 Sep, 2023, 03:53

Please also include the system attributes

Infinil
20 Sep, 2023, 03:57

oh damn that worked

Infinil
20 Sep, 2023, 03:59

so if we have to add all the system attributes why not do it automatically 🤔

Infinil
20 Sep, 2023, 03:59

or there are specific system attrs which cause the issue

Drake
20 Sep, 2023, 04:02

We need to figure out how to handle this better with the SDK. The point was to allow developers to only get what they request like if they only want to get document IDs

Infinil
20 Sep, 2023, 04:02

oh i see gotcha

Infinil
20 Sep, 2023, 04:03

i will close the issue then

Infinil
20 Sep, 2023, 04:03

[CLOSED] Query.select() throws an error

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