Skip to main content

proposalsConnection

Reads and enables pagination through a set of Proposal.

proposalsConnection(
first: Int
last: Int
offset: Int
before: Cursor
after: Cursor
orderBy: [ProposalsOrderBy!] = [PRIMARY_KEY_ASC]
condition: ProposalCondition
filter: ProposalFilter
): ProposalsConnection

Arguments

proposalsConnection.first ● Int scalar

Only read the first n values of the set.

proposalsConnection.last ● Int scalar

Only read the last n values of the set.

proposalsConnection.offset ● Int scalar

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

proposalsConnection.before ● Cursor scalar

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

proposalsConnection.after ● Cursor scalar

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

proposalsConnection.orderBy ● [ProposalsOrderBy!] list enum

The method to use when ordering Proposal.

proposalsConnection.condition ● ProposalCondition input

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

proposalsConnection.filter ● ProposalFilter input

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

Type

ProposalsConnection object

A connection to a list of Proposal values.