Schema Documentation

users

Description

Connection between the RootQuery type and the User type

Response

Returns a RootQueryToUserConnection

Arguments
NameDescription
first - Int The number of items to return after the referenced "after" cursor
last - Int The number of items to return before the referenced "before" cursor
after - String Cursor used along with the "first" argument to reference where in the dataset to get data
before - String Cursor used along with the "last" argument to reference where in the dataset to get data
where - RootQueryToUserConnectionWhereArgs Arguments for filtering the connection

Example

Query
query users(  $first: Int,$last: Int,$after: String,$before: String,$where: RootQueryToUserConnectionWhereArgs){  users(    first: $first,    last: $last,    after: $after,    before: $before,    where: $where  ){    edges {      ...RootQueryToUserConnectionEdgeFragment    }nodes {      ...UserFragment    }pageInfo {      ...RootQueryToUserConnectionPageInfoFragment    }  }}
Variables
{"first":123,"last":987,"after":"abc123","before":"abc123","where":RootQueryToUserConnectionWhereArgs}
Response
{"data":{"users":{"edges":[RootQueryToUserConnectionEdge],"nodes":[User],"pageInfo":RootQueryToUserConnectionPageInfo}}}