Skip to main content

votesConnection

Reads and enables pagination through a set of Vote.

votesConnection(
first: Int
last: Int
offset: Int
before: Cursor
after: Cursor
orderBy: [VotesOrderBy!] = [PRIMARY_KEY_ASC]
condition: VoteCondition
filter: VoteFilter
): VotesConnection

Arguments

votesConnection.first ● Int scalar

Only read the first n values of the set.

votesConnection.last ● Int scalar

Only read the last n values of the set.

votesConnection.offset ● Int scalar

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

votesConnection.before ● Cursor scalar

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

votesConnection.after ● Cursor scalar

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

votesConnection.orderBy ● [VotesOrderBy!] list enum

The method to use when ordering Vote.

votesConnection.condition ● VoteCondition input

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

votesConnection.filter ● VoteFilter input

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

Type

VotesConnection object

A connection to a list of Vote values.