maruOriginal post
Web Developer
I have a collection, for which I modified some attributes yesterday (>12h ago): I deleted some, added a few and modified one. I was able to fill the new attributes in the Cloud Console, however when I try to fetch the entries from the JS SDK, the result doesn't include any of the modified attributes. I tried the query from the browser and from a Function with the same result.
appwrite v13.0.2
node-appwrite v11.1.1
This is how I query the collection:
TypeScript
databases.listDocuments<IUser>(CDBApp, CColUser, [ Query.equal('$id', userId)])This is a sample response:
JSON
{ "$id":"6519ecddb73e774af129", "avatarId":"655b5643cb16ad8fc10a", "bannerId":"658b07689dda7b94861b", "followers":0, "following":0, "numRatings":0, "posts":0, "rating":0, "sumRatings":0}And these are the attributes:
Summary
Developers modified attributes in collection on Cloud Console over 12 hours ago but they are not being fetched with JS SDK query.
Solution: Ensure querying for the latest data.