js-sql-parser icon indicating copy to clipboard operation
js-sql-parser copied to clipboard

Support WITH clause

Open morenoh149 opened this issue 8 years ago • 1 comments

Throws on

const parser = require('js-sql-parser');
const ast = parser.parse('WITH t as ( delete from foo ) Delete from bar;')
console.log(JSON.stringify(ast, null, 2));

morenoh149 avatar Sep 28 '17 21:09 morenoh149

It will be supported after #2 , clause follows https://dev.mysql.com/doc/refman/8.0/en/with.html

albin3 avatar Oct 09 '17 12:10 albin3