Last active
July 18, 2016 17:37
-
-
Save uyu423/e4266cdf17841e2b4e1a8b4f915a1aae to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* node-qsb npm Module Example (Select Query Default) */ | |
var qsb = require('node-qsb'); | |
var qs = new qsb().select('tableName') | |
.where('idx', '>', '10') | |
.build(); | |
qs.printString(); | |
//Standard Output : SELECT * FROM `tableName` WHERE `idx` > '10'; | |
console.log(qs.returnString()); | |
//String Object : SELECT * FROM `tableName` WHERE `idx` > '10'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment