Skip to main content

valuesConnection

Reads and enables pagination through a set of Value.

valuesConnection(
first: Int
last: Int
offset: Int
before: Cursor
after: Cursor
orderBy: [ValuesOrderBy!] = [PRIMARY_KEY_ASC]
condition: ValueCondition
filter: ValueFilter
): ValuesConnection

Arguments​

valuesConnection.first ● Int scalar​

Only read the first n values of the set.

valuesConnection.last ● Int scalar​

Only read the last n values of the set.

valuesConnection.offset ● Int scalar​

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

valuesConnection.before ● Cursor scalar​

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

valuesConnection.after ● Cursor scalar​

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

valuesConnection.orderBy ● [ValuesOrderBy!] list enum​

The method to use when ordering Value.

valuesConnection.condition ● ValueCondition input​

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

valuesConnection.filter ● ValueFilter input​

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

Type​

ValuesConnection object​

A connection to a list of Value values.