You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If there is an escaped table in the FROM statement it throws an error.
Example:
var parse = require('node-sqlparser').parse;
var stringify = require('node-sqlparser').stringify;
// ERROR
var sql = 'SELECT `id` FROM `Tb`'; // escaped `Tb`
var astObj = parse(sql); // ERROR
// OK
var sqlOK = 'SELECT `id` FROM Tb';
var astObjOK = parse(sql); // OK
Example of the error:
throw peg$buildException(null, peg$maxFailExpected, peg$maxFailPos);
^
SyntaxError: Expected "$", WHITE_SPACE or [A-Za-z_] but "`" found.
The text was updated successfully, but these errors were encountered:
If there is an escaped table in the FROM statement it throws an error.
Example:
Example of the error:
The text was updated successfully, but these errors were encountered: