
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
search
parameter in thelistMemberships
method. 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: Invalid
queriesparam: 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
- [Node.js SDK] Bypass 2GB file limit?
Hello. Using either InputFile.fromPath or InputFile.fromBuffer throws this error: File size (2295467305) is greater than 2 GiB Bucket limit etc. is setup corre...
- Relationship null, even when relationshi...
Hi Everyone, im experiencing issues with set relation data. When im setting the document id from the related database most of them seem fine, except one table. ...
- Website shows just the HTML in safari
Hi y'all, I've been working on a project for a while but, for some reason it just shows the html in safari, It work perfectly fine in firefox and chrome, but sa...
