π Bug Report: Database listDocuments method return old/cached data
gladbhex opened this issue Β· comments
π Reproduction steps
Create a document within a collection using 'createDocument' and update using 'updateDocument'. Now fetch the document list using listDocuments returns old data. The same happens even after the entire collection has been deleted, the method returns the data that does not exist. Tried on the incognito tab, and on the first query, it returned the correct data, further updates to the document resulted in the same behavior.
π Expected behavior
Should return up-to-date data from database
π Actual Behavior
Returns old or deleted documents
π² Appwrite version
Different version (specify in environment)
π» Operating system
Windows
𧱠Your Environment
appwrite-web-sdk v13.0.0
appwrite server v1.4.4 self-hosted on digitalocean
Frontend React v18.2.0
π Have you spent some time to check if this issue has been raised before?
- I checked and didn't find similar issue
π’ Have you read the Code of Conduct?
- I have read the Code of Conduct
@gladbhex, thanks for creating this issue! ππΌ Does the Appwrite console behave the same way? What other libraries are you using in your app?