Skip to main content

customersConnection

Reads and enables pagination through a set of Customer.

customersConnection(
after: Cursor
before: Cursor
filter: CustomerFilter
first: Int
last: Int
offset: Int
orderBy: [CustomerOrderBy!] = [PRIMARY_KEY_ASC]
): CustomerConnection

Arguments​

customersConnection.after ● Cursor scalar​

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

customersConnection.before ● Cursor scalar​

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

customersConnection.filter ● CustomerFilter input​

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

customersConnection.first ● Int scalar​

Only read the first n values of the set.

customersConnection.last ● Int scalar​

Only read the last n values of the set.

customersConnection.offset ● Int scalar​

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

customersConnection.orderBy ● [CustomerOrderBy!] list enum​

The method to use when ordering Customer.

Type​

CustomerConnection object​

A connection to a list of Customer values.