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.For search, use the search param rather than queries
ty
Recommended threads
- Export, Import or Migration giving this ...
As you can see in yhe screenshot i am not able to export any data or export the data from tables. Also it is affecting the migration from appwrite to appwrite h...
- Project auto-blocked after load testing ...
Hi team π My project has been automatically blocked with the message: "Project is currently blocked β Access to this project is restricted. Contact support if...
- App build crashing with "Internal error"
Hello Appwrite team! π We are trying to deploy a Next.js application on Appwrite Cloud, but our builds are consistently failing. The deployment log successful...