Hey guys, I want to understand how I can use and or inside query. here is my example
$database->listDocuments(
"*****",
"****",
[
$this->q->equal("name", $name),
$this->q->equal("age", $age)
]
);
its I think for and (name and age ), what about (name or age), incase age is empty. for example if i have ```[{"name":"Aron", "age": "23"}, {"name":"kebe", "age": "26"}, {"name":"josi", "age": "27"}, {"name":"abela", "age": "23"}]
giving Aron and 23 i want to get
[{"name":"Aron", "age": "23"}, {"name":"abela", "age": "23"}]
thanks
Logical OR like that isn't supported. You might want to 👍 this issue: https://github.com/appwrite/appwrite/issues/2740
Recommended threads
- Database Write Limits hit
Hello Appwrite Admins, I'm a GitHub Education user, and about a week ago, my database was really badly optimized, resulting in about 600k writes in a single day...
- How i can call increment with operators ...
- Attribute not found in schema on REST AP...
I'm querying a appwrite collection via the REST API on appwrite cloud 1.9.5 (no SDK) via a cloudflare worker and keep getting: ``` {"message":"Invalid query: A...