Skip to main content

relationsConnection

Reads and enables pagination through a set of Relation.

relationsConnection(
first: Int
last: Int
offset: Int
before: Cursor
after: Cursor
orderBy: [RelationsOrderBy!] = [PRIMARY_KEY_ASC]
condition: RelationCondition
filter: RelationFilter
): RelationsConnection

Arguments​

relationsConnection.first ● Int scalar​

Only read the first n values of the set.

relationsConnection.last ● Int scalar​

Only read the last n values of the set.

relationsConnection.offset ● Int scalar​

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

relationsConnection.before ● Cursor scalar​

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

relationsConnection.after ● Cursor scalar​

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

relationsConnection.orderBy ● [RelationsOrderBy!] list enum​

The method to use when ordering Relation.

relationsConnection.condition ● RelationCondition input​

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

relationsConnection.filter ● RelationFilter input​

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

Type​

RelationsConnection object​

A connection to a list of Relation values.