Docs

v.Latest
Introduction
Core Concepts
Querying Content
Editing
Customizing Tina
Going To Production
Media
Drafts
Guides
Further Reference

Tina's list queries implement the cursor-based Relay specification. Collection lists can be queried with <collection>Connection.

Example

Here we will query our post collection with postConnection.

{
postConnection {
edges {
node {
id
title
}
}
}
}
{
"data": {
"postConnection": {
"edges": [
{
"node": {
"id": "content/posts/anotherPost.json",
"title": "Just Another Blog Post"
}
},
{
"node": {
"id": "content/posts/nested/anotherPost.json",
"title": "Just Another Blog Post"
}
},
{
"node": {
"id": "content/posts/voteForPedro.json",
"title": "Vote For Pedro"
}
}
]
}
}
}
Last Edited: August 15, 2024
Table of Contents