Article Connection
An auto-generated type for paginating through multiple Articles.
Anchor to Fields with this connectionFields with this connection
- •OBJECT
A blog container for
Articleobjects. Stores can have multiple blogs, for example to organize content by topic or purpose.Each blog provides access to its articles, contributing
objects, andinformation. You can retrieve articles individually by handle or as a paginated list.
Anchor to Queries with this connectionQueries with this connection
- articles (ArticleConnection!)
- •query
Returns a paginated list of
Articleobjects from the shop'sBlogobjects. Each article is a blog post containing content, author information, tags, and optional images.Use the
queryargument to filter results by author, blog title, tags, or date fields. Sort results using theargument and reverse them with thereverseargument.- Anchor to firstfirst•Int
Returns up to the first
nelements from the list.- Anchor to afterafter•String
Returns the elements that come after the specified cursor.
- Anchor to lastlast•Int
Returns up to the last
nelements from the list.- Anchor to beforebefore•String
Returns the elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Article
Key Sort Keys Default:ID Sort the underlying list by the given key.
- Anchor to queryquery•String
Apply one or multiple filters to the query. Refer to the detailed search syntax for more information about using filters.
Arguments
Anchor to Possible returnsPossible returns
- edges ([ArticleEdge!]!)
- nodes ([Article!]!)
- pageInfo (PageInfo!)
- Anchor to edgesedges•[Article
Edge!]! non-null A list of edges.
- Anchor to nodesnodes•[Article!]!non-null
A list of the nodes contained in ArticleEdge.
- Anchor to pageInfopage•Page
Info Info! non-null Information to aid in pagination.