class Connection<T : Node>(val nodes: List<T>, val pageInfo: PageInfo, val totalCount: Int?, val order: Order<T>)
Connection used as ObjectType in the GraphQL API Represents the many side of a relation and supports filtering, ordering and pagination
Parameters
nodes
all related nodes
pageInfo
general connection information
totalCount
if fetched, the total amount of items in the relation
order
defines how the items are ordered in the connection, necessary for cursor definition