Skip to content

Commit ae3693b

Browse files
add missing connect call
1 parent c5cc182 commit ae3693b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

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

samples/tutorials/node.js/macOS/SqlServerColumnstoreSample/columnstore.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,7 @@ connection.on('connect', function(err) {
4444
exec('SELECT SUM(Price) FROM Table_with_5M_rows');
4545
},
4646
]);
47-
});
47+
});
48+
49+
// Initialize the connection.
50+
connection.connect();

0 commit comments

Comments
 (0)