Skip to main content

sessionsConnection

Reads and enables pagination through a set of Session.

sessionsConnection(
first: Int
last: Int
offset: Int
before: Cursor
after: Cursor
orderBy: [SessionsOrderBy!] = [PRIMARY_KEY_ASC]
condition: SessionCondition
filter: SessionFilter
): SessionsConnection

Arguments​

sessionsConnection.first ● Int scalar​

Only read the first n values of the set.

sessionsConnection.last ● Int scalar​

Only read the last n values of the set.

sessionsConnection.offset ● Int scalar​

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

sessionsConnection.before ● Cursor scalar​

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

sessionsConnection.after ● Cursor scalar​

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

sessionsConnection.orderBy ● [SessionsOrderBy!] list enum​

The method to use when ordering Session.

sessionsConnection.condition ● SessionCondition input​

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

sessionsConnection.filter ● SessionFilter input​

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

Type​

SessionsConnection object​

A connection to a list of Session values.