Skip to content

Commit c77c202

Browse files
committed
Spellcheck
1 parent 3777c1a commit c77c202

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

doc/api.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4501,7 +4501,7 @@ The `message` parameter in the notification callback is an object containing the
45014501
- `queueName` - the name of the Advanced Queue. Undefined for CQN. This was added in node-oracledb 4.0.
45024502
- `queries` - 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 [`oracledb.SUBSCR_EVENT_TYPE_QUERY_CHANGE`](#oracledbconstantssubscription). It contains the following key:
45034503
- `tables` - an array of objects identical to the objects created for Database Change Notification (see the `tables` property below).
4504-
- `registered` - a boolean indicating whether the subscription is registered with the database. Will be *false* if `type` is [`oracledb.SUBSCR_EVENT_TYPE_DEREG`](#oracledbconstantssubscription) or if the subscription was created with the [`qos`](#consubscribeoptqos) property set to [`oracledb.SUBSCR_QOS_DEREG_NFY`](#oracledbconstantssubscription).
4504+
- `registered` - a Boolean indicating whether the subscription is registered with the database. Will be *false* if `type` is [`oracledb.SUBSCR_EVENT_TYPE_DEREG`](#oracledbconstantssubscription) or if the subscription was created with the [`qos`](#consubscribeoptqos) property set to [`oracledb.SUBSCR_QOS_DEREG_NFY`](#oracledbconstantssubscription).
45054505
- `tables` - an array of objects specifying the tables which were affected by the notification. This is only defined if `type` is [`oracledb.SUBSCR_EVENT_TYPE_OBJ_CHANGE`](#oracledbconstantssubscription). It contains the following properties:
45064506
- `name` - the name of the table which was modified in some way.
45074507
- `operation` - an integer mask composed of one or more values of the following constants:
@@ -12767,7 +12767,7 @@ await conn.execute(
1276712767
```
1276812768

1276912769
Because the default bind direction is `BIND_IN`, and the type can be inferred
12770-
from `result.resultSet`, the PL/SQL procedure call can be simplied to:
12770+
from `result.resultSet`, the PL/SQL procedure call can be simplified to:
1277112771

1277212772
```javascript
1277312773
await conn.execute(`BEGIN myproc(:rc); END;`, [result.resultSet]);
@@ -12901,7 +12901,7 @@ Analytics][59] and in [this StackOverflow answer][60].
1290112901
### <a name="sqlbindtablename"></a> 21.7 Binding Column and Table Names in Queries
1290212902

1290312903
It is not possible to bind table names in queries. Instead use a
12904-
hardcoded Allow List of names to build the final SQL statement, for
12904+
hard-coded Allow List of names to build the final SQL statement, for
1290512905
example:
1290612906

1290712907
```javascript
@@ -15526,7 +15526,7 @@ reduce [round-trips](#roundtrips) to the database. The difference is the code
1552615526
layer that is doing the buffering, and when the buffering occurs. The Oracle
1552715527
Client libraries used by node-oracledb have separate "execute SQL statement" and
1552815528
"fetch data" calls. Prefetching allows query results to be returned to the
15529-
application when the successful statement execution acknowledgment is returned
15529+
application when the successful statement execution acknowledgement is returned
1553015530
from the database. This means that a subsequent internal "fetch data" operation
1553115531
does not always need to make a round-trip to the database because rows are
1553215532
already buffered in the Oracle Client libraries. Reducing round-trips helps
@@ -15601,7 +15601,7 @@ There are two cases that will benefit from disabling row prefetching
1560115601
by setting `prefetchRows` to 0:
1560215602

1560315603
- When a query returns a ResultSet which is then passed into PL/SQL.
15604-
Set `prefetchRows` to 0 during the inital query so the first rows
15604+
Set `prefetchRows` to 0 during the initial query so the first rows
1560515605
from the cursor are not prematurely (and silently) fetched by
1560615606
node-oracledb. This lets all rows be available to the later,
1560715607
receiving PL/SQL code. See [REF CURSOR Bind
@@ -15842,7 +15842,7 @@ Tables can then be created, or altered, so repeated queries use CRC. This
1584215842
allows existing applications to use CRC without needing modification. For example:
1584315843

1584415844
```sql
15845-
SQL> CREATE TABLE cities (id number, name varchar2(40)) RESULT_CACHE (MODE FORCE);
15845+
SQL> CREATE TABLE cities (id NUMBER, name VARCHAR2(40)) RESULT_CACHE (MODE FORCE);
1584615846
SQL> ALTER TABLE locations RESULT_CACHE (MODE FORCE);
1584715847
```
1584815848

0 commit comments

Comments
 (0)