Back

Complex Queries

  • 0
  • Web
Suiii
6 Apr, 2023, 15:08

what is the best way to use to queries for statistical report. multiple condition and multiple rows

TL;DR
The user is asking for the best way to use queries for a statistical report with multiple conditions and rows. The recommended approach is to keep functions separate and clearly defined to avoid overlaps or duplicates. Indexing should also be considered to optimize performance.
joeyouss
6 Apr, 2023, 15:22

Hi! here's an example to use queries https://appwrite.io/docs/databases#querying-documents

The best way could be to keep functions separate and clearly defined so there are no overlaps and/or duplicates. Also try looking into indexing https://dev.to/appwrite/how-do-i-index-my-appwrite-collection-2o4n

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