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
- Error upgrading from 1.8.1 to 1.9.0
DO Self-hosted server failed to upgrade with this error "Error response from daemon: client version 1.52 is too new. Maximum supported API version is 1.42". U...
- MariaDB refuses to connect to appwrite
Earlier, I tried updating my Appwrite version from 18.1.x to the latest release because my Flutter package required it to function properly. I used the official...
- 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...