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
Documentation Explorer
No Schema Available

Fetch an object using its primary key

Example: Fetch an author using their primary key:

GraphiQL
Query Variables
Request Headers
Documentation Explorer
No Schema Available

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
Documentation Explorer
No Schema Available

See the API reference for more details.