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
- How to use Sites on selfhosted appwrite
whenever I try to create a site even with template it says 404 nginx error
- How to send Webhooks to internal network
When saving the URL for sending Webhooks, Appwrite checks if it's a valid external domain name so entering internal IP address or docker hostnames won't save th...
- Collections list not showing up when try...
I'm trying to create new relationship attribute but both one way and two way relationship is not showing up collections list to connect with my relationship att...