Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

postgraphile-upsert-plugin

1.0.5 • Public • Published

postgraphile-upsert-plugin

add postgres upsert mutations to postgraphile

JavaScript Style Guide semantic-release Greenkeeper badge CircleCI

install

yarn add postgraphile-upsert

usage

import { PgMutationUpsertPlugin } from 'postgraphile-upsert'
 
postgraphile(pgClient, 'yourSchema', {
  appendPlugins: [PgMutationUpsertPlugin as any]
})

fire open PostGraphiQL and look for mutation { upsert<ModelName> { ... } }

this is a typescript-ified knock off of the original upsert plugin

Install

npm i postgraphile-upsert-plugin

DownloadsWeekly Downloads

186

Version

1.0.5

License

MIT

Unpacked Size

11 kB

Total Files

4

Last publish

Collaborators

  • avatar