postgraphile-plugin-batch-create-update-delete icon indicating copy to clipboard operation
postgraphile-plugin-batch-create-update-delete copied to clipboard

A postgraphile plugin that allows for batch create, update, & delete mutations in a single transaction.

Results 10 postgraphile-plugin-batch-create-update-delete issues
Sort by recently updated
recently updated
newest added

Example: - Table is named: `testing`, and is in schema `one` (`one.testing`) - Column is on this same table named: `status` (`one.testing.status`) and has a type of `status_type`, in schema...

Targeting esnext, importing `import ManyUpdatePlugin from 'postgraphile-plugin-many-create-update-delete';` and then using it in the appendPlugin array, `appendPlugins: [ ManyUpdatePlugin, ]` will fail with the error that the appendPlugins param accepts functions,...

I'm trying to use this for a batch deletion, but it doesn't work for me. This is the input created for my table's batch deletion operation: ``` """All input for...

question

Hey Tim, this PR seems to work. We'd likely want to add this to Many Update if this approach is correct

Hey Tim, great looking package here, I especially like the opt-in smart comments design. I have a query such as ```graphql mutation CreateManyPartsTransfers($partsTransfers: [PartsTransferInput!]!) { mnCreatePartsTransfer(input: { mnPartsTransfer: $partsTransfers })...

Add a tests similar to other postgraphile libraries for better code confidence and future updates.

enhancement
help wanted

Hi, I have a problem with this plugins, when I try to insert/update with the created mutations I have an error: ``` GraphQL error: permission denied for table X ```...

enhancement
hacktoberfest-accepted

Add plugin options that allow conflict handling for inserts. This would allow updates (upsert), no action, failures (current default) based off the constraints or further options.

enhancement
help wanted

Better test/usage examples in the readme.

documentation
good first issue

Update smart comments with better functionality to include individual level create, update, or delete mutations vs. including them all together as it is now.

enhancement
help wanted
good first issue