BloodThermic
How to search list collections? I have tired using a sting of text I just keep getting server error
as my error.
TypeScript
"648aace70b49cf3fe136",
Query.search("name", `${accountId}`)
);```
TL;DR
To search list collections, use the "search" parameter instead of queries. In your code, make sure to replace the "name" field with the desired field you want to search in. Also, ensure that the value you pass into the search function is a string. If you're getting a "server error," double-check your code for any mistakes or try troubleshooting the issue with your server. Drake
For search, use the search param rather than queries
BloodThermic
ty
Recommended threads
- delete document problems
i don't know what's going on but i get an attribute "tournamentid" not found in the collection when i try to delet the document... but this is just the document...
- Attributes Confusion
```import 'package:appwrite/models.dart'; class OrdersModel { String id, email, name, phone, status, user_id, address; int discount, total, created_at; L...
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...