Skip to content

Commit c5cc182

Browse files
add missing connect call
1 parent 9cc0cb8 commit c5cc182

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

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

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,10 @@ connection.on('connect', function(err) {
123123
} else {
124124
console.log("Done!");
125125
}
126-
}
127-
)
126+
})
128127
}
129-
});
128+
});
129+
130+
131+
// Initialize the connection.
132+
connection.connect();

0 commit comments

Comments
 (0)