Skip to content

Instantly share code, notes, and snippets.

@uyu423
Last active July 18, 2016 17:53
Show Gist options
  • Save uyu423/a879b3da6eccd15a1a0bf8aa569442cb to your computer and use it in GitHub Desktop.
Save uyu423/a879b3da6eccd15a1a0bf8aa569442cb to your computer and use it in GitHub Desktop.
//node-qsb를 사용하지 않고 데이터베이스 쿼리문 하드 코딩
var originQs = "insert into users(email, passwd, uName, stdNum, major, phone, emailNotify, tIdx) "
+ "values ('"+req.email+"', '"+req.sha2passwd +"', '"
+ req.uName+"', '"+req.stdNum+"', '"+req.major+"', '"+req.phone+"', '"
+ req.emailNotify+"', 5);";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment