Skip to content

Commit c2cefc2

Browse files
committed
More documentation and test updates for the latest changes in node-oracledb 6.4
1 parent d3beb39 commit c2cefc2

File tree

4 files changed

+7
-161
lines changed

4 files changed

+7
-161
lines changed

doc/src/api_manual/connection.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1100,13 +1100,16 @@ Connection Methods
11001100

11011101
- ``fetchType``: One of the :ref:`Node-oracledb Type Constant <oracledbconstantsnodbtype>` values.
11021102
- ``isJson``: Indicates if the column is known to contain JSON data. This will be ``true`` for JSON columns (from Oracle Database 21c) and for LOB and VARCHAR2 columns where "IS JSON" constraint is enabled (from Oracle Database 19c). This property will be ``false`` for all the other columns. It will also be ``false`` for any column when Oracle Client 18c or earlier is used in Thick mode or the Oracle Database version is earlier than 19c.
1103-
1104-
1103+
- ``isOson``: Indicates if the column is known to contain binary encoded OSON data. This attribute will be ``true`` in Thin mode and while using Oracle Client version 21c (or later) in Thick mode when the "IS JSON FORMAT OSON" check constraint is enabled on BLOB and RAW columns. It will be set to ``false`` for all other columns. It will also be set to ``false`` for any column when the Thick mode uses Oracle Client versions earlier than 21c. Note that the "IS JSON FORMAT OSON" check constraint is available from Oracle Database 19c onwards.
11051104
- ``name``: The column name follows Oracle’s standard name-casing rules. It will commonly be uppercase, since most applications create tables using unquoted, case-insensitive names.
11061105
- ``nullable``: Indicates whether ``NULL`` values are permitted for this column.
11071106
- ``precision``: Set only for ``oracledb.DB_TYPE_NUMBER``, ``oracledb.DB_TYPE_TIMESTAMP``, ``oracledb.DB_TYPE_TIMESTAMP_TZ``, and ``oracledb.DB_TYPE_TIMESTAMP_LTZ`` columns.
11081107
- ``scale``: Set only for ``oracledb.DB_TYPE_NUMBER`` columns.
11091108

1109+
.. versionchanged:: 6.4
1110+
1111+
The ``isOson`` information attribute was added.
1112+
11101113
.. versionchanged:: 6.3
11111114

11121115
The ``annotations``, ``domainName``, ``domainSchema``, and ``isJson`` information attributes were added.

doc/src/api_manual/resultset.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ handle in a single array.
1111

1212
ResultSets can optionally be converted to Readable Streams. Also, from
1313
node-oracledb 5.5, the ResultSet class implements the
14-
``asyncIterator()`` symbol to support asynchonous iteration.
14+
``asyncIterator()`` symbol to support asynchronous iteration.
1515

1616
A *ResultSet* object is obtained by setting ``resultSet: true`` in the
1717
``options`` parameter of the *Connection* :meth:`~connection.execute()`

test/deadConnDetection.js

Lines changed: 0 additions & 158 deletions
This file was deleted.

test/passwordExpiryWarning.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ describe('292. passwordExpiryWarning.js', function() {
7171
};
7272

7373
before(async function() {
74+
if (dbConfig.test.drcp) this.skip();
7475
const connAsDBA = await oracledb.getConnection(dbaCredential);
7576
await connAsDBA.execute(plsql);
7677
await testsUtil.sleep(2000);

0 commit comments

Comments
 (0)