We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f145ee commit 8ecf962Copy full SHA for 8ecf962
lib/Dialects/postgresql.js
@@ -17,9 +17,11 @@ exports.escapeId = function () {
17
};
18
19
exports.escapeVal = function (val, timeZone) {
20
- if (val === undefined || val === null) {
21
- return 'NULL';
22
- }
+ if (val === undefined){
+ return 'DEFAULT';
+ }else if(val === null){
23
+ return 'NULL';
24
+ }
25
26
if (Array.isArray(val)) {
27
if (val.length === 1 && Array.isArray(val[0])) {
0 commit comments