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
- Why does this happen?
`AppwriteException: general_argument_invalid, Invalid `secret` param: Value must be a valid string and at least 1 chars and no longer than 256 chars (400)` the...
- How to properly implement custom domain?...
- Site deployment does not work.
I can change a file, deploy, change does not take effect. Delete file in repo, push changes,deploy. Old file remains undeleted Duplicate file, rename it, push,...