@dwtechs/antity-pgsql 0.8.0 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/antity-pgsql.js +1 -1
- package/package.json +1 -1
package/dist/antity-pgsql.js
CHANGED
|
@@ -336,7 +336,7 @@ class Update {
|
|
|
336
336
|
query += `WHEN id = $${j + 1} THEN $${i++} `;
|
|
337
337
|
args.push(row[p]);
|
|
338
338
|
}
|
|
339
|
-
query += `END, `;
|
|
339
|
+
query += `ELSE ${quoteIfUppercase(p)} END, `;
|
|
340
340
|
}
|
|
341
341
|
query = `${query.slice(0, -2)} WHERE id IN ${$i(l, 0)}`;
|
|
342
342
|
return { query, args };
|