Back

[SOLVED] querying list users

  • 0
  • Users
  • Accounts
  • Web
  • Self Hosted
bittu
3 Jun, 2023, 06:59

Please can you tell me how to query through the user prefs ???

TL;DR
User is seeking assistance with querying user lists. They are wondering if search functionality is unavailable due to the lack of an index, and if they should create a collection for all users to enable searching. They are unsure of which query methods work with the `users.list` function and mention that `Query.search('email', '1234@gmx.de')` was unsuccessful. User also asks if they can query through user preferences. Solution: The user should create a new post instead of commenting on an old thread. They should also create a collection for all users to enable searching. They need to refer to the documentation to determine which query methods
Bouahaza
3 Jun, 2023, 08:10

You can't. If you want to query on, you need to create a collection for this

bittu
3 Jun, 2023, 09:53

But in the docs there is a queries option. Can't we do it like that..?

Bouahaza
3 Jun, 2023, 10:11
bittu
4 Jun, 2023, 08:39

Okay thanks

_alnes_
26 Jul, 2023, 19:38

But Query.search('email', '1234@gmx.de') dont work ?

_alnes_
26 Jul, 2023, 19:39

Which Query methods work with users.list ?

_alnes_
26 Jul, 2023, 19:51

Hm, so maybe search dont work because no Index, but i cant set in on Users ? So i have to create a collection with all users and search there ?

Drake
26 Jul, 2023, 19:52

Please create a new post instead of posting in an old thread

Drake
26 Jul, 2023, 19:53

[SOLVED] querying list users

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