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
- Usage of the new Client() and dealing wi...
Hey guys, just a quick one - we had some web traffic the other day and it ended up bombing out - To put in perspective of how the app works, we have a Nuxt Ap...
- CORS errors in Obsidian custom plugin
Hi, anyone here familiar with obsidian community plugins? In short: it's a local first note app which supports writing your own add-ons / plugin But I keep get...
- > AppwriteException: The requested servi...
When trying to read or write from my database I get the following error: > AppwriteException: The requested service is disabled. You can enable the service from...