Skip to content

Commit 194c4d0

Browse files
author
Tim M
committed
updated many deletes for constraint capitilization
1 parent 3249ce5 commit 194c4d0

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

build/PostGraphileManyDeletePlugin.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/PostGraphileManyDeletePlugin.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "postgraphile-plugin-many-create-update-delete",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "Postgraphile plugin that enables many create, update, & delete mutations in a single transaction.",
55
"main": "build/index.js",
66
"repository": {

src/PostGraphileManyDeletePlugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ const PostGraphileManyDeletePlugin: T.Plugin = (
378378
(dataGroup, i) =>
379379
sql.fragment`(${sql.join(
380380
dataGroup.map(
381-
(val, j) => sql.fragment`${sqlColumns[j]} = ${val}`
381+
(val, j) => sql.fragment`"${sqlColumns[j]}" = ${val}`
382382
),
383383
') and ('
384384
)})`

0 commit comments

Comments
 (0)