Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support WITH clause #1

Open
morenoh149 opened this issue Sep 28, 2017 · 1 comment
Open

Support WITH clause #1

morenoh149 opened this issue Sep 28, 2017 · 1 comment

Comments

@morenoh149
Copy link

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));
@albin3
Copy link
Member

albin3 commented Oct 9, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants