Skip to content

Commit 9cc0cb8

Browse files
nodejs/macos example:Add missing connect statement
1 parent a970ac2 commit 9cc0cb8

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

  • samples/tutorials/node.js/macOS/SqlServerSample

samples/tutorials/node.js/macOS/SqlServerSample/connect.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,7 @@ connection.on('connect', function(err) {
2020
} else {
2121
console.log('Connected');
2222
}
23-
});
23+
});
24+
25+
// Initialize the connection.
26+
connection.connect();

0 commit comments

Comments
 (0)