forked from amyJin/SQLParser-node.js
-
Notifications
You must be signed in to change notification settings - Fork 0
This is a node.js extension which parses through SQL query to check the validation
License
Ensighten/SQLParser-node.js
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is an extended project of the repository SQLParser. Based on the article http://syskall.com/how-to-write-your-own-native-nodejs-extension, I wrapped SQLParser class by V8 to make it executable in node.js projects to check the validation of SQL query. Bulding: In the top directory, run the following command: node-gyp configure && node-gyp build Then we should have our compiled extension in ./build/Release/SQLParser.node. Test it in node console: $ node > var parser = require('./build/default/SQLParser.node'); > var sqlParser = new parser.SQLParser(); > var query = 'SELECT * FROM Users'; > sqlParser.parse(query); true
About
This is a node.js extension which parses through SQL query to check the validation
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- C++ 96.8%
- Python 3.2%