Created
April 29, 2015 17:49
-
-
Save vastus/c7986f240199b1f0a60c to your computer and use it in GitHub Desktop.
This file contains hidden or 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 db = require('./db'); | |
| db.query('select * from users').then(function (d){ | |
| console.log('hi', d); | |
| }, function (data) { | |
| console.log('a', data); | |
| }); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment