Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

add postgres upsert mutations to postgraphile 🐘

Notifications You must be signed in to change notification settings

alechartung/postgraphile-upsert

This branch is 6 commits ahead of, 17 commits behind cdaringe/postgraphile-upsert:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

eb26e3a · Oct 28, 2020
Mar 22, 2019
Nov 22, 2018
Oct 28, 2020
Nov 22, 2018
Feb 15, 2019
Nov 22, 2018
Feb 15, 2019
Oct 28, 2020
Oct 28, 2020
Sep 22, 2019
Nov 22, 2018
Feb 13, 2020

Repository files navigation

postgraphile-upsert-plugin

add postgres upsert mutations to postgraphile

install

yarn add postgraphile-upsert-plugin

usage

import { PgMutationUpsertPlugin } from 'postgraphile-upsert-plugin'

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

About

add postgres upsert mutations to postgraphile 🐘

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 99.5%
  • JavaScript 0.5%