Skip to content

Commit 28c51ea

Browse files
committed
Add newer pool options to example script comments
1 parent 868370a commit 28c51ea

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

examples/webapp.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,10 @@ function init() {
5151
password: dbConfig.password,
5252
connectString: dbConfig.connectString
5353
// Default values shown below
54+
// edition: 'ORA$BASE', // used for Edition Based Redefintion
5455
// events: false, // whether to handle Oracle Database FAN and RLB events or support CQN
5556
// externalAuth: false, // whether connections should be established using External Authentication
57+
// homogeneous: true, // all connections in the pool have the same credentials
5658
// poolAlias: 'myalias' // set an alias to allow access to the pool via a name
5759
// poolIncrement: 1, // only grow the pool by one connection at a time
5860
// poolMax: 4, // maximum size of the pool. Increase UV_THREADPOOL_SIZE if you increase poolMax

examples/webappawait.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,10 @@ async function init() {
5252
password: dbConfig.password,
5353
connectString: dbConfig.connectString
5454
// Default values shown below
55+
// edition: 'ORA$BASE', // used for Edition Based Redefintion
5556
// events: false, // whether to handle Oracle Database FAN and RLB events or support CQN
5657
// externalAuth: false, // whether connections should be established using External Authentication
58+
// homogeneous: true, // all connections in the pool have the same credentials
5759
// poolAlias: 'myalias' // set an alias to allow access to the pool via a name.
5860
// poolIncrement: 1, // only grow the pool by one connection at a time
5961
// poolMax: 4, // maximum size of the pool. Increase UV_THREADPOOL_SIZE if you increase poolMax

examples/webapppromises.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,10 @@ function init() {
5151
password: dbConfig.password,
5252
connectString: dbConfig.connectString
5353
// Default values shown below
54+
// edition: 'ORA$BASE', // used for Edition Based Redefintion
5455
// events: false, // whether to handle Oracle Database FAN and RLB events or support CQN
5556
// externalAuth: false, // whether connections should be established using External Authentication
57+
// homogeneous: true, // all connections in the pool have the same credentials
5658
// poolAlias: 'myalias' // set an alias to allow access to the pool via a name.
5759
// poolIncrement: 1, // only grow the pool by one connection at a time
5860
// poolMax: 4, // maximum size of the pool. Increase UV_THREADPOOL_SIZE if you increase poolMax

0 commit comments

Comments
 (0)