I have a react web app where the users get to make posts. I am able to obtain all the posts with listDocuments
. The things is, they don't have similar attributes. Some of them have the happy
attribute as true
, some have curious
as true
, some all are true
, some none, and so on.
I want to fetch the posts based on the attributes being true
. It is easy to obtain documents based on one attribute being true
, but I am looking for a way to consider more than one attribute. For example, I wanna fetch posts that have both happy
and curious
as true
. I did my research in the Appwrite forum and it seems like there is no straightforward way to fetch the posts based on multiple values. Or am I wrong?
Recommended threads
- Seed db
hello there... is this correct way to seed appwrite
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- Different appwrite IDs are getting expos...
File_URL_FORMAT= https://cloud.appwrite.io/v1/storage/buckets/[BUCKET_ID]/files/[FILE_ID]/preview?project=[PROJECT_ID] I'm trying to access files in my web app...