Skip to main content

starredRecords Query

Returns a Relay Connection to a collection of StarredRecord objects.

Access is permitted when any of the following condition(s) are met: 1. The object's 'user' attribute is the signed-in User.

Input fields

ArgumentTypeDescription
beforeStringSpecifies a cursor for use in combination with last to implement backward pagination.
afterStringSpecifies a cursor for use in combination with first to implement forward pagination.
firstIntA non-negative integer that specifies to return at most first edges after the after cursor.
lastIntA non-negative integer that specifies to return at most last edges before the before cursor.
offsetInt
orderByStarredRecordOrderDEPRECATED. Prefer using sort_by instead as it allows ordering by many fields.
sortBy[StarredRecordOrder]Allows specifying many field and direction pairs to sort results by.

Return fields (StarredRecordConnection!)

edges ([StarredRecordEdge]!)

List of edges containing the nodes in this connection.

nodes ([StarredRecord]!)

List of nodes in this connection.

pageInfo (PageInfo!)

Pagination data for this connection.

totalCount (Int!)

Total count of nodes available.