I need to read out the username for specific userIDs in a list. How can I do this? Can I somehow do something like database.getUserName('userIDStringHere')?
Somehow... But is it only usable on Server API and not in Flutter?
if you have the user data in a collection you can add a query like Query.equal(userId, 'userIDStringHere') to list documents and from result you get the username
Recommended threads
- Images/Videos in storage appearing broke...
I am running into a storage issue after upgrading my self-hosted Appwrite instance , all of my previously uploaded images and videos are now showing as broken i...
- executeFunction intermittently throws Fo...
Environment: Flutter app using the Appwrite Flutter SDK, calling executeFunction for [describe endpoint, e.g. live-stream-related function]. *Description*: Int...
- How to update from 1.8.1 to 1.9.6
Due to the number of issues reported in version 1.9.5, I am hesitant to proceed with the update. Could anyone advise if version 1.9.6 is stable and resolves tho...