Skip to main content

discussionsConnection

Reads and enables pagination through a set of Discussion.

discussionsConnection(
first: Int
last: Int
offset: Int
before: Cursor
after: Cursor
orderBy: [DiscussionsOrderBy!] = [PRIMARY_KEY_ASC]
condition: DiscussionCondition
filter: DiscussionFilter
): DiscussionsConnection

Arguments

discussionsConnection.first ● Int scalar

Only read the first n values of the set.

discussionsConnection.last ● Int scalar

Only read the last n values of the set.

discussionsConnection.offset ● Int scalar

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

discussionsConnection.before ● Cursor scalar

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

discussionsConnection.after ● Cursor scalar

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

discussionsConnection.orderBy ● [DiscussionsOrderBy!] list enum

The method to use when ordering Discussion.

discussionsConnection.condition ● DiscussionCondition input

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

discussionsConnection.filter ● DiscussionFilter input

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

Type

DiscussionsConnection object

A connection to a list of Discussion values.