Skip to main content

spacesConnection

Reads and enables pagination through a set of Space.

spacesConnection(
first: Int
last: Int
offset: Int
before: Cursor
after: Cursor
orderBy: [SpacesOrderBy!] = [PRIMARY_KEY_ASC]
condition: SpaceCondition
filter: SpaceFilter
): SpacesConnection

Arguments​

spacesConnection.first ● Int scalar​

Only read the first n values of the set.

spacesConnection.last ● Int scalar​

Only read the last n values of the set.

spacesConnection.offset ● Int scalar​

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

spacesConnection.before ● Cursor scalar​

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

spacesConnection.after ● Cursor scalar​

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

spacesConnection.orderBy ● [SpacesOrderBy!] list enum​

The method to use when ordering Space.

spacesConnection.condition ● SpaceCondition input​

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

spacesConnection.filter ● SpaceFilter input​

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

Type​

SpacesConnection object​

A connection to a list of Space values.

:::tip See also

Cookbook recipes that use this:

:::