You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/api.md
+13-14Lines changed: 13 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -707,7 +707,7 @@ This is an asynchronous call.
707
707
All open connections in a connection pool are closed when a connection
708
708
pool terminates.
709
709
710
-
Any ongoing transaction in a connection will be committed.
710
+
Any ongoing transaction in a connection will be released.
711
711
712
712
##### Prototype
713
713
@@ -928,7 +928,7 @@ Option Property | Description
928
928
----------------|-------------
929
929
*Number maxRows* | Number of rows to fetch for `SELECT` statements. To improve database efficiency, SQL queries should use a row limiting clause like [OFFSET / FETCH](https://docs.oracle.com/database/121/SQLRF/statements_10002.htm#BABEAACC) or equivalent. The `maxRows` attribute can be used to stop badly coded queries from returning unexpectedly large numbers of rows.
930
930
*String outFormat* | The format of rows fetched for `SELECT` statements. This can be either `ARRAY` or `OBJECT`. If specified as `ARRAY`, then each row is fetched as an array of column values. If specified as `OBJECT`, then each row is fetched as a JavaScript object.
931
-
*Boolean isAutoCommit* | If it is true, then each [DML](https://docs.oracle.com/database/121/CNCPT/glossary.htm#CNCPT2042) is automatically committed. Note: Oracle Database will implicitly commit when a [DDL](https://docs.oracle.com/database/121/CNCPT/glossary.htm#CHDJJGGF) statement is executed. Any ongoing transaction will also be committed when [`release()`](#release) or [`terminate()`](#terminate) are called.
931
+
*Boolean isAutoCommit* | If it is true, then each [DML](https://docs.oracle.com/database/121/CNCPT/glossary.htm#CNCPT2042) is automatically committed. Note: Oracle Database will implicitly commit when a [DDL](https://docs.oracle.com/database/121/CNCPT/glossary.htm#CHDJJGGF) statement is executed.
932
932
933
933
```
934
934
function(Error error, [Object result])
@@ -990,7 +990,7 @@ the connection is returned to the pool.
990
990
This is an asynchronous call.
991
991
992
992
When a connection is released, any ongoing transaction on the
993
-
connection is implicitly committed.
993
+
connection is rolled back.
994
994
995
995
##### Prototype
996
996
@@ -1016,7 +1016,7 @@ Callback function parameter | Description
1016
1016
1017
1017
#### <aname="rollback"></a> 5.2.5 rollback()
1018
1018
1019
-
This call rolls-back the current transaction in progress on the
1019
+
This call rollsback the current transaction in progress on the
1020
1020
connection.
1021
1021
1022
1022
##### Description
@@ -1050,13 +1050,13 @@ Callback function parameter | Description
1050
1050
A SQL or PL/SQL statement may be executed using the *Connection*
0 commit comments