Skip to content

Instantly share code, notes, and snippets.

@vmussak
Last active March 20, 2017 01:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vmussak/c1c72095dc669e8ca4312a41a36478ba to your computer and use it in GitHub Desktop.
Save vmussak/c1c72095dc669e8ca4312a41a36478ba to your computer and use it in GitHub Desktop.
let config = {
user: 'username',
password: 'senha',
server: 'servidor',
database: 'database',
options: {
encrypt: true //Caso esteja utilizando o SQL no Azure, utilize este parâmetro :)
}
};
const sql = require("smn-sql")(config);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment