Skip to main content

rulesConnection

Reads and enables pagination through a set of Rule.

rulesConnection(
first: Int
last: Int
offset: Int
before: Cursor
after: Cursor
orderBy: [RulesOrderBy!] = [PRIMARY_KEY_ASC]
condition: RuleCondition
filter: RuleFilter
): RulesConnection

Arguments

rulesConnection.first ● Int scalar

Only read the first n values of the set.

rulesConnection.last ● Int scalar

Only read the last n values of the set.

rulesConnection.offset ● Int scalar

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

rulesConnection.before ● Cursor scalar

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

rulesConnection.after ● Cursor scalar

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

rulesConnection.orderBy ● [RulesOrderBy!] list enum

The method to use when ordering Rule.

rulesConnection.condition ● RuleCondition input

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

rulesConnection.filter ● RuleFilter input

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

Type

RulesConnection object

A connection to a list of Rule values.