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
- 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...
- education plan not activated
Hi I have an edu id 13103046@iubat.edu but when I am trying to claim my plan and trying to logging with github where education student plan active. the appwrite...