I have a required where I need to get the list of user who has a specific value of a prefs. Here, I'm using server sdk.
you cannot query on prefs.
An alternative way here could be to set labels instead of preferences if you're trying to setup a sort of tagging system for users
Okay!
@Abhishek does that resolve your issue?
I'm changing the data structure here. I created a DB table to map the user ID with specific properties to make it work according to our business logic.
That sounds good 👍 @Abhishek are we good to mark this issue as solved?
Yes
[Solved] Can we use prefs to get the list of users?
Recommended threads
- Cannot use custom SMTP for messaging (SM...
Hey there! I'm on Appwrite Self-hosted 1.9.0. I've never used the messaging feature before, always sent emails through functions or a custom backend, but I'v...
- 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...
- Appwrite 1.9.0 doctor fails tho database...
So i was testing in a local environment the upgrade for 1.9.0, and after getting everything into a running state, i checked the logs that shows : ``` └── Cre...