Skip to main content

rolesConnection

Reads and enables pagination through a set of Role.

rolesConnection(
first: Int
last: Int
offset: Int
before: Cursor
after: Cursor
orderBy: [RolesOrderBy!] = [PRIMARY_KEY_ASC]
condition: RoleCondition
filter: RoleFilter
): RolesConnection

Arguments

rolesConnection.first ● Int scalar

Only read the first n values of the set.

rolesConnection.last ● Int scalar

Only read the last n values of the set.

rolesConnection.offset ● Int scalar

Skip the first n values from our after cursor, an alternative to cursor based pagination. May not be used with last.

rolesConnection.before ● Cursor scalar

Read all values in the set before (above) this cursor.

rolesConnection.after ● Cursor scalar

Read all values in the set after (below) this cursor.

rolesConnection.orderBy ● [RolesOrderBy!] list enum

The method to use when ordering Role.

rolesConnection.condition ● RoleCondition input

A condition to be used in determining which values should be returned by the collection.

rolesConnection.filter ● RoleFilter input

A filter to be used in determining which values should be returned by the collection.

Type

RolesConnection object

A connection to a list of Role values.