mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-10 12:27:44 +00:00
docs: list user with query filter operator (#2857)
This commit is contained in:
committed by
GitHub
parent
13591daa7d
commit
a8c65d9871
@@ -128,6 +128,10 @@ const users = await authClient.admin.listUsers({
|
||||
});
|
||||
```
|
||||
|
||||
#### Query Filtering
|
||||
|
||||
The `listUsers` function supports various filter operators including `eq`, `contains`, `starts_with`, and `ends_with`.
|
||||
|
||||
#### Pagination
|
||||
|
||||
The `listUsers` function supports pagination by returning metadata alongside the user list. The response includes the following fields:
|
||||
|
||||
Reference in New Issue
Block a user