suppliers
Audience: Programmer
Served by: maindata
Arguments
Name
Type
Default
Description
first
Int
Returns the first n elements from the list.
last
Int
Returns the last n elements from the list.
Returns
Example
Queries suppliers with pagination and ordering.
query GetSuppliers($after: Cursor, $first: Int, $before: Cursor, $last: Int, $orderBy: SupplierOrder, $where: SupplierWhereInput) {
suppliers(after: $after, first: $first, before: $before, last: $last, orderBy: $orderBy, where: $where) {
totalCount
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
cursor
node {
createdAt
createdBy
data
dataTypeID
dataTypeSlug
deletedAt
deletedBy
id
tenantID
updatedAt
updatedBy
}
}
}
}Variables
Last updated
Was this helpful?
