how to more attribute for searching if (searchQuery != null && searchQuery.isNotEmpty) {
queries.add(Query.search('phone', searchQuery));
}
TL;DR
Developers are seeking help to add more attributes for searching in their code. They want to include additional attributes like name and date of birth along with the existing attribute 'phone'. They are asking how to modify the code to allow for multiple search attributes. Here is a sample snippet of their existing code for reference:
``` if (searchQuery != null && searchQuery.isNotEmpty) {
queries.add(Query.search('phone', searchQuery));
}
```
Solution: To add additional search attributes like name and date of birth, developers can simply replicate the existing code snippet for each attribute they want to search for. For example:
``` if (searchlike name dob
Recommended threads
- GB Hours IS NOT resetting
Hi, I was checking my usage and noticed that all of my usage quotas were reset on August 20, 2026, when my billing cycle renewed. Everything else appears to ha...
- Confused about Appwrite Pro pricing
Hi. I've been subscribed to the $25 Appwrite Pro plan, but I've been getting charged $40. I have two projects on my account. I was wondering where exactly the e...
- Appwrite (Dart SDK) (for package_info_pl...
Hi team! Many Flutter plugins now need package_info_plus 10.x and device_info_plus 13.x, but appwrite 25.4.0 still constrains package_info_plus: >=8.0.2 <10.0...