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
- How to bypass the rate limit on the back...
Once a month my app has a ton of usage and I always run into the Too many requests 429 error. I am trying to optimize the queues and jobs to manage that, but a...
- [SOLVED] Appwrite Cloud and FRA cloud se...
Can anyone estimate how long this will take to resolve? I am checking status here https://status.appwrite.online/
- How to use Operator.arrayAppend on a rel...
Hi, is it possible to use any operator on a relationship column? I have a One to Many relationship column on a table and I would like to add entries to the colu...