Skip to main content
Version: v2.x

Postgres: Simple object queries

Introduction

You can fetch a single node or multiple nodes of the same type using a simple object query.

Fetch list of objects

Example: Fetch a list of authors:

GraphiQL
Query Variables
Request Headers

Fetch an object using its primary key

Example: Fetch an author using their primary key:

GraphiQL
Query Variables
Request Headers

Fetch value from JSON/JSONB column at particular path

Example: Fetch the city and phone number of an author from their JSONB address column:

GraphiQL
Query Variables
Request Headers

See the API reference for more details.