Back

Invalid query: language=en

  • 0
  • Databases
AlexUSA
25 Mar, 2024, 05:59

What could be the problem const result = await this.database.listDocuments(this.databaseId, this.questionCollectionId, ['language=en']) Without ['language=en'] it returns all elements, but I only need the filter.

TL;DR
Developers are facing issues with an invalid query in their code when trying to filter results by language. Removing ['language=en'] returns all elements but they're seeking a solution to effectively apply the filter.
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