add postgres upsert mutations to postgraphile
npm install postgraphile-upsert-pluginAdd postgres upsert mutations to postgraphile.


``bash`
pnpm install --save postgraphile-upsert-plugin
`bash`
postgraphile --append-plugins postgraphile-upsert-plugin:PgMutationUpsertPlugin
See here for more information about loading plugins with PostGraphile.
`ts
import express from "express";
import { postgraphile } from "postgraphile";
import PgMutationUpsertPlugin from "postgraphile-upsert-plugin";
const app = express();
app.use(
postgraphile(pgConfig, schema, {
appendPlugins: [PgMutationUpsertPlugin],
})
);
app.listen(5000);
`
This plugin supports an optional where clause in your upsert