Skip to content

Commit bc00fa2

Browse files
committed
Doc changes for the earlier enhancement with AQ
1 parent 02fb187 commit bc00fa2

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

doc/src/api_manual/connection.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2154,6 +2154,10 @@ Connection Methods
21542154
- An array of objects specifying the queries which were affected by the Query Change notification. This is only defined if the ``type`` key is the value :ref:`oracledb.SUBSCR_EVENT_TYPE_QUERY_CHANGE <oracledbconstantssubscription>`.
21552155

21562156
It contains the ``table`` key which is an array of objects identical to the objects created for Database Change Notification (see the ``tables`` property below).
2157+
* - ``regId``
2158+
- A JavaScript BigInt value which specifies a unique identifier that is returned during registration. This is the same value returned by the :ref:`result object's <consubscribecallback>` ``regId`` property.
2159+
2160+
.. versionadded:: 6.7
21572161
* - ``registered``
21582162
- A boolean indicating whether the subscription is registered with the database. Will be *false* if ``type`` is :ref:`oracledb.SUBSCR_EVENT_TYPE_DEREG <oracledbconstantssubscription>` or if the subscription was created with the :ref:`qos <consubscribeoptqos>` property set to :ref:`oracledb.SUBSCR_QOS_DEREG_NFY <oracledbconstantssubscription>`.
21592163
* - ``tables``

doc/src/release_notes.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,9 @@ Thick Mode changes
4242
#) Fixed bug which throws ``ORA-22288`` error in certain scenarios when
4343
querying ``BFILENAME()`` with outbinds.
4444

45-
#) Added registration id to the CQN subscription callback function's message
46-
object parameter.
45+
#) Added registration id (``regId`` property) to the
46+
:ref:`message object parameter <messageparam>` of the CQN subscription
47+
:ref:`callback <consubscribeoptcallback>` function.
4748
See `Issue #1692 <https://github.com/oracle/node-oracledb/issues/1692>`__.
4849

4950
node-oracledb `v6.6.0 <https://github.com/oracle/node-oracledb/compare/v6.5.1...v6.6.0>`__ (25 Jul 2024)

0 commit comments

Comments
 (0)