Skip to main content

commentsConnection

Reads and enables pagination through a set of Comment.

commentsConnection(
first: Int
last: Int
offset: Int
before: Cursor
after: Cursor
orderBy: [CommentsOrderBy!] = [PRIMARY_KEY_ASC]
condition: CommentCondition
filter: CommentFilter
): CommentsConnection

Arguments

commentsConnection.first ● Int scalar

Only read the first n values of the set.

commentsConnection.last ● Int scalar

Only read the last n values of the set.

commentsConnection.offset ● Int scalar

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

commentsConnection.before ● Cursor scalar

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

commentsConnection.after ● Cursor scalar

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

commentsConnection.orderBy ● [CommentsOrderBy!] list enum

The method to use when ordering Comment.

commentsConnection.condition ● CommentCondition input

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

commentsConnection.filter ● CommentFilter input

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

Type

CommentsConnection object

A connection to a list of Comment values.