Can we do Query.search in two attributes using “OR” like this database.listDocuments('employee_collection', [ Query.search('employee_name',searchtext), Query.search('employee_id', searchtext), ]);
You can upvote and track this feature request https://github.com/appwrite/appwrite/issues/2740
For now you can the recommend workaround is to add a seracs attribute that will contain all the data you want to be search able.
You can use a function that will trigger for any update/create events and do the filling there so you won't have to remember to do that.
Recommended threads
- Dart runtime functions are timing out an...
My appwrite function is not executing at all and showing the error in error logs: I tried redeploying. Still no luck. I have set the function to ise maximum re...
- 403 The current user has been blocked.
Hello, I have a free plan; I've tried to access my project and I get the message "403 The current user has been blocked." I have database, sites, and auth in us...
- Am getting "The current user has been bl...
Was working on my app FLUTTER WEB APP, and suddenly, I have been blocked.... What can I do ? When I try to sign in to the console, I get "The current user has ...