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
17 Jun, 2023, 04:13
For search, use the search param rather than queries