How to use node-sql-parser #1922
Replies: 1 comment
-
const sql = `SELECT d.Fdrug_hash_id FROM t_xxxx d where d.Fapproval_number like '\tH20190022%'`
const { Parser } = require('node-sql-parser/build/mysql')
const parser = new Parser()
const ast = parser.astify(sql)
console.log(ast) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
huxiaoyan0824
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How to use node-sql-parser?
Beta Was this translation helpful? Give feedback.
All reactions