sqlite-parser icon indicating copy to clipboard operation
sqlite-parser copied to clipboard

Allow for / in the table names

Open johnnymajor opened this issue 7 years ago • 1 comments

Any suggestions on how I can have sqlite-parser to allow for an "/" in the table names just like "."? DB2 has libraries that can contain '/' in the table and below is a valid statement.

I attempted to adjust the .pegjs however after adjusting it statements that were working stopped. Might be adjusting the wrong item. Was updating

name_char = [a-z0-9\$\_\/]i

Thanks

johnnymajor avatar May 05 '17 02:05 johnnymajor

@johnnymajor Have you tried putting these table names in backticks, single quotes, or double quotes?

nwronski avatar Jan 29 '18 15:01 nwronski