Comparing version 0.0.21 to 0.0.22
@@ -12,3 +12,3 @@ exports.escapeId = function () { | ||
} | ||
return "\"" + el.replace(/\"/g, "\"\"") + "\""; | ||
return el.split(".").map(function (ele) { return "\"" + ele.replace(/\"/g, "\"\"") + "\""; }).join("."); | ||
}).join("."); | ||
@@ -15,0 +15,0 @@ }; |
@@ -9,3 +9,3 @@ { | ||
], | ||
"version": "0.0.21", | ||
"version": "0.0.22", | ||
"license": "MIT", | ||
@@ -12,0 +12,0 @@ "repository": { |
@@ -21,2 +21,7 @@ var common = require('../common'); | ||
assert.equal( | ||
dialect.escapeId('schema.table', 'col'), | ||
'"schema"."table"."col"' | ||
); | ||
assert.equal( | ||
dialect.escapeVal(undefined), | ||
@@ -23,0 +28,0 @@ 'NULL' |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34340
1192