Created
August 20, 2014 20:53
-
-
Save VEINHORN/731a043e3ec6532efe72 to your computer and use it in GitHub Desktop.
sdfsdfsdf
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
var arr = 0; | |
var query = connection.query('INSERT INTO mydb2.User SET ?', account, function(err, result) { | |
//console.log('Created account with id: ' + result.insertId + ' ' + username); | |
arr = result.insertId; | |
//userId = result.insertId; | |
}); | |
console.log('Created account with id: ' + arr); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment