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 0c89dc1 commit 2c210a1Copy full SHA for 2c210a1
test/unit/test-SqlString.js
@@ -18,9 +18,11 @@ test('SqlString.escapeId', {
18
'value containing separator is quoted': function() {
19
assert.equal('`id1`.`id2`', SqlString.escapeId('id1.id2'));
20
},
21
+
22
'value containing separator and escapes is quoted': function() {
23
assert.equal('`id``1`.`i``d2`', SqlString.escapeId('id`1.i`d2'));
24
25
26
'value containing separator is fully escaped when forbidQualified': function() {
27
assert.equal('`id1.id2`', SqlString.escapeId('id1.id2', true));
28
0 commit comments