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
- Current User is Not authorized
recreating same Thread
- Apple OAuth Scopes
Hi Hi, I've configured sign in with apple and this is the response i'm getting from apple once i've signed in. I cant find anywhere I set scopes. I remember se...
- Sign In With Apple OAuth Help
Hi All! I've got a flutter & appwrite app which Im trying to use sign in with apple for. I already have sign in with google working and the function is the sam...