collections

Look up Collections by various parameters.

Arguments

after (String)

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

before (String)

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

featured (Boolean)

Select Collections that have been featured or not featured depending on given value.

first (Int)

Returns the first n elements from the list.

last (Int)

Returns the last n elements from the list.

order (CollectionsOrder)

Define order for the Collections.

postId (ID)

Select Collections that have the Post with the given ID.

userId (ID)

Select Collections that are created by User with the given ID.

Return fields

edges ([CollectionEdge!]!)

A list of edges.

nodes ([Collection!]!)

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Total number of objects returned from this query