amtiOriginal post
Web Developer
I am facing an issue with querying documents from my Appwrite database. I have a collection where I store appointments, and I'm trying to retrieve all the documents. However, the results are inconsistent: when I change the attribute used in the query, the retrieved information changes, for example, (in my collection the status of my two appointments are "cancelled and pending". But when I request the documents using await databases.listDocuments I get the two documents with status of both cancelled.
Summary
Developers experiencing inconsistency with querying documents from their Appwrite database. When using the LISTDOCUMENTS function, results vary depending on the query attribute. For example, all documents show as 'cancelled' even when there are 'cancelled' and 'pending' status. This issue likely stems from query setup or attribute handling. Double-check query configurations and attribute values for accuracy.