My app is a social App where user can follow and unfollow each other, right now I don't know what i'm doing wrong but i want to be able to get posts of users if the user its contain in the array of user i'm following
Here is my Code
databaseId: Common.dataBasesId,
collectionId: Common.collectionStoryTellerId,
queries: [
Query.orderDesc('\$createdAt'),
Query.limit(500),
// Query.equal("userId", userId),
Query.contains("userId", ['${userModel.following}']),
],
);
return doc.documents;
Please, what i'm missing out on?
Recommended threads
- Problem with getting rows from related t...
Hi, I migrated the Appwrite SDK to 1.8.0 and the package in my Flutter app to version ^20.3.2. I noticed one thing is different. Previously, when I got a JSON r...
- MFA Recovery Codes issue
after creating recovery codes using `account.createMFARecoveryCodes()` do we need to Verify MFA factors type recovery code? I followed this guide: https://appw...
- Update string attribute
Hi, Unsure if we’re able to use newKey when updating string attribute over node.js server api call to change an attribute name instead of having to create a ne...