-
-
Save heapwolf/3145525 to your computer and use it in GitHub Desktop.
intro/nonblocking
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
function handleResult(result) { | |
console.log('I have results: ' + result); | |
} | |
database.query('SELECT * from ARTICLES WHERE ID=1', handleResult); | |
console.log('I have started the query'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment