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
- Self-Hosted and Multi Region support
Hey Appwrite Team, As a test and to expand self-hosted capabilities even more, i was thinking of understanding and testing how to deploy a multi-region instanc...
- How to use dart workspaces to deploy a f...
Hello, I'm developing a Flutter application and I would like to leverage dart pub workspaces to deploy a function with a dart runtime as advertised here : http...
- Migration from Cloud to Self-Hosted not ...
Hello Appwrite Community, I've got the problem, that when I try to migrate my Appwrite Project from the cloud to my self-hosted Appwrite, that an API Key is mi...