Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Module Options

Alex Ald edited this page Apr 29, 2019 · 7 revisions

Options

  • pgConfig (required): An object or string that will be passed to the pg library and used to connect to a PostgreSQL backend, OR a pg.Pool to use.
  • schema (optional): A string, or array of strings, which specifies the PostgreSQL schema(s) you choose to expose via PostGraphile (Defaults to 'public')
  • playground (optional): set this to true to enable the playground interface (Defaults to false)
  • playgroundRoute (optional): override the playground's route (Defaults to /playground)

NOTE: Visit PostGraphile's documentation to see additional configuration options that can be set.

Clone this wiki locally