It works when i am searching with one attribute
search is not working while adding multiple attributes
What does mean "Not working", do you get an error? you don't the expected results?
FYI currently queries only support AND operator, that means, you are looking for title=x AND category=x
it means query only support AND operator
how can i use two attribute
your title and category search for the same query
. is that intended?
yes
return the value whether it is in title or category attribute
Ahh. You are trying to use an or
logic.
I think Query.or
is added on 1.5x
.
yes you are right
using what you are doing, it will search for documents where the category AND title contain your query.
i want to check whether that value is in either both the attribute or not
You'll have to do multiple calls for that atm. Once 1.5x is released, the or
can be used.
I am very disappointed with appwrite version
Just a few more weeks for the release π
sorry to say but who are you
someone waiting for 1.5x release as well πΈ
i see double post #search is not working while adding multiple attributes but working with single attribute valuesearch
Recommended threads
- Invalid document structure: missing requ...
I just pick up my code that's working a week ago, and now I got this error: ``` code: 400, type: 'document_invalid_structure', response: { message: 'Inv...
- custom domain with CloudFlare
Hi all, it seems that CloudFlare has blocked cross-domain CNAME link which made my app hostname which is in CloudFlare, unable to create a CNAME pointing to clo...
- Custom emails
What happen if I use a third party email provider to customize my emails and my plan run out of emails/month? Appwrite emails are used as fallback sending emai...