Skip to content

Commit 23de0e6

Browse files
committed
Add implementation function for getConnectionsOpen()
1 parent 6cb6164 commit 23de0e6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

lib/impl/pool.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,15 @@ class PoolImpl {
9191
errors.throwNotImplemented("getting num connection in use");
9292
}
9393

94+
//---------------------------------------------------------------------------
95+
// getConnectionsOpen()
96+
//
97+
// Returns the number of connections opened by the pool.
98+
//---------------------------------------------------------------------------
99+
getConnectionsOpen() {
100+
errors.throwNotImplemented("getting num connection open");
101+
}
102+
94103
//---------------------------------------------------------------------------
95104
// getPoolIncrement()
96105
//

0 commit comments

Comments
 (0)