Back

List users by user query labels

  • 0
  • Functions
  • Cloud
Denzel
25 Apr, 2024, 14:11

Is it possible to filter out users by querying them with labels

TL;DR
To list users by user query labels, developers can use the list function on users and add a queries array. However, querying with labels for arrays is not available until version 1.5, which is not yet on the cloud. It is expected to be available soon.
Kenny
25 Apr, 2024, 14:23

I believe you can use the list function on users and add a queries array. The only issue I'd think of this is that it looks like labels are an array and queries for arrays were not added until 1.5, which is not avaliable on cloud right now, but I as I understand it'll be there soon (ish).

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more