
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
- $updatedAt hasn't changed at all.
I found an issue: if a document is updated but the actual value of the corresponding field doesn't change, $updatedAt will not be updated. Is the system designe...
- OAuth2 and Email/Passwort is not working...
Hello guys, after updating to the latest Appwrite Flutter package (17.0.1) I am facing completely weird behavior. None of my login ways are working. Whether the...
- How to disable registering for OTP Login...
Hi! I think there should be an option for not creating a user on OTP Login. Sure I can write a function to check if there is a user with the email already, but ...
