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