Is there a method in the client SDK which would allow me to get a user other than the currently logged in user by ID and fetch their pref key/vals?
Also, is it considered the right practice to store things like avatar file IDs, usernames, etc. in user prefs?
Or should I be making a DB collection to store such user data?
I'm going to refactor to user a DB collection for now, but if anyone knows the correct answer to this plz @ ping me here π
You mean get other users data?
Yes, I would recommend creating a users collection
Thanks Steven, yeah that's what I ended up doing and it's working well so far
Yeah the original issue was getting other users data
Just for like, displaying profile pictures, usernames, etc etc
Recommended threads
- No server error on selfhosted appwrite
Please help me, my clients is ask what happen on their data? How can i make it up again?
- Upgrading selfhost version?
It is okay to upgrade version to higher one, of my current version is 1.7.4 to 1.8.1. Is that safe to do cause my clients already have data on that? Also is a...
- Streamlit UI and local DB
I want to use Appwrite for automation, like run watchdog service every morning 3 am. Anyone got suggestions, already explored github and documentation no luck. ...