These are examples of queries to fetch post category data.
List of post categories, ordering them by name, and showing their post count:
All categories in a post:
Category names in posts:
A list of predefined categories:
Filtering categories by name:
Counting category results:
Paginating categories:
Only top-level categories, and 2nd level of children:
Fetching meta values:
Mutation:
Nested mutation:
This query creates, updates and deletes post category terms: