Back

[CLOSED] flutter SDK database Select query causes error

  • 0
  • Databases
  • Self Hosted
punti_z
26 Nov, 2023, 14:53

I am trying to minimize the data fetched from DB to only what's required. When I add Query. Select to the mix the list documents gives the below error :/

I know its the select query because when I remove it the solution works again

Query.select(['fileId']);

Running self hosted 1.4.5 with Appwrite SDK 11

TL;DR
Flutter SDK database Select query causes error. There is an open issue on GitHub related to this (issue #6158). Until it's fixed, you need to manually include system attributes as part of the select query. The error occurs when using Query.select(['fileId']). Running self-hosted 1.4.5 with Appwrite SDK 11.
punti_z
26 Nov, 2023, 15:18

Found an open issue "6158" on github for this. If anyone runs into it, till its fixed, you need to include system attributes manually as part of the select query.

punti_z
26 Nov, 2023, 15:18

[CLOSED] flutter SDK database Select query causes 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