Skip to content

Commit 107b66d

Browse files
uiteoidougwilson
authored andcommitted
docs: fix incorrect variable reference
closes #16
1 parent 0f83972 commit 107b66d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ argument to `true` in order to keep the string as a literal identifier:
120120

121121
```js
122122
var sorter = 'date.2';
123-
var sql = 'SELECT * FROM posts ORDER BY ' + connection.escapeId(sorter, true);
123+
var sql = 'SELECT * FROM posts ORDER BY ' + SqlString.escapeId(sorter, true);
124124
console.log(sql); // SELECT * FROM posts ORDER BY `date.2`
125125
```
126126

0 commit comments

Comments
 (0)