Hello, I was trying to use teams.listMemberships method in JavaScript SDK and I wanted to search by userName attribute. I tried two ways to search on the name:
- The
searchparameter in thelistMembershipsmethod. This parameter looks like it only searches on the ID and not user name. Query.search("userName", search)gives an errorappwrite.js?v=76cc79fe:850 Uncaught (in promise) AppwriteException: Invalidqueriesparam: Invalid query: Attribute not found in schema: userName.
How can I search on userName then? What is the attribute for teams which holds the userName? Thank you
Recommended threads
- Bulk delete failed with 401
- I created a transaction to bulk delete rows in a table has `done` equal `true` follow documentation. But when run, it returns 401 unauthorized error as screen...
- Google Auth not working in a React App
Authentication with Google has failed. It redirects back to the signin route in React. Attached screenshots for configuration of Google console and Appwrite Go...
- Dokploy docker compose
Hey guys hope y'all doing well, I was wondering if anyone could share a working 1.8.0 docker-compose that works with Dokploy I tried making it but it just does...