Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Oracle(user, password, connectString) {
- this.credentials = {
- user: user,
- password: password,
- connectString: connectString
- };
- var that = this;
- oracledb.createPool(this.credentials)
- .then(function(pool) {
- console.log(pool.poolAlias);
- that.pool = pool;
- });
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement