deviceUsers
Served by: management
Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
after |
Cursor | Returns the elements in the list that come after the specified cursor. |
first |
Int | Returns the first n elements from the list. |
before |
Cursor | Returns the elements in the list that come before the specified cursor. |
last |
Int | Returns the last n elements from the list. |
orderBy |
DeviceUserOrder | Ordering options for DeviceUsers returned from the connection. |
where |
DeviceUserWhereInput | Filtering options for DeviceUsers returned from the connection. |
Returns
Section titled “Returns”Example
Section titled “Example”Lists device check-in records with pagination.
query GetDeviceUsers($after: Cursor, $first: Int, $before: Cursor, $last: Int, $orderBy: DeviceUserOrder, $where: DeviceUserWhereInput) { deviceUsers(after: $after, first: $first, before: $before, last: $last, orderBy: $orderBy, where: $where) { totalCount pageInfo { hasNextPage hasPreviousPage startCursor endCursor } edges { cursor node { createdAt createdBy data dataTypeID dataTypeSlug deletedAt deletedBy deviceID id tenantID updatedAt updatedBy userID } } }}Variables
{ "first": 10, "orderBy": { "direction": "ASC", "field": "CREATED_AT" }}