Skip to content

Instantly share code, notes, and snippets.

@jkarsrud
Created May 28, 2013 07:58
Show Gist options
  • Save jkarsrud/5661180 to your computer and use it in GitHub Desktop.
Save jkarsrud/5661180 to your computer and use it in GitHub Desktop.
Dreamcode of global sequelize connection checking
var sequelize = new Sequelize(config.db, config.user, config.pass).error(function() {
// do some error handling
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment