Skip to main content

paginatedCompanies

Get all companies that the user is associated with.If the user is a super admin, return all companies, otherwise returnthe companies that the user is associated with.

paginatedCompanies(
after: String
before: String
filters: CompanyFilterInput
first: Int
last: Int
): CompanyConnection!

Arguments

paginatedCompanies.after ● String scalar

Returns the elements in the list that come after the specified cursor.

paginatedCompanies.before ● String scalar

Returns the elements in the list that come before the specified cursor.

paginatedCompanies.filters ● CompanyFilterInput input

paginatedCompanies.first ● Int scalar

Returns the first _n_ elements from the list.

paginatedCompanies.last ● Int scalar

Returns the last _n_ elements from the list.

Type

CompanyConnection object

The connection type for Company.