postgraphile-db-inspector-extension

1.0.9-alpha.46 • Public • Published

postgraphile-db-inspector-extension

yarn add postgraphile-db-inspector-extension

Use as a server plugin; e.g.

postgraphile --plugins postgraphile-db-inspector-extensions -c my_db

or

const pgdbi = require('postgraphile-db-inspector-extension')
const {postgraphile, makePluginHook} = require("postgraphile");
const pluginHook = makePluginHook([pgdbi]);

app.use(postgraphile(connectionString, schemas, {
  pluginHook,
  enablePgdbi: true
}))

In library mode you must enable pgdbi in PostGraphile options:

enablePgdbi: true,

You can access pgdbi at the /pgdbi sub path, e.g. http://localhost:5000/pgdbi.

/postgraphile-db-inspector-extension/

    Package Sidebar

    Install

    npm i postgraphile-db-inspector-extension

    Weekly Downloads

    2

    Version

    1.0.9-alpha.46

    License

    MIT

    Unpacked Size

    10.9 MB

    Total Files

    229

    Last publish

    Collaborators

    • stlbucket