Skip to content

Commit 34d6968

Browse files
committed
Work on statement caching description
1 parent 1006555 commit 34d6968

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

doc/api.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4100,8 +4100,10 @@ statement is executed irrespective of the value of `autoCommit`.
41004100
41014101
Node-oracledb's [`execute()`](#execute) method uses the
41024102
[Oracle OCI statement cache](https://docs.oracle.com/database/121/LNOCI/oci09adv.htm#i471377)
4103-
instead of requiring applications to prepare, execute (and then
4104-
re-execute without re-preparing) statements in separate steps.
4103+
to make re-execution of statements efficient. This cache removes the
4104+
need for a separate 'prepare' method which is sometimes seen in other
4105+
Oracle APIs: there is no separate 'prepare' method in node-oracledb.
4106+
41054107
Each non-pooled connection and each session in the connection pool has
41064108
its own cache of statements with a default size of 30. Statement
41074109
caching lets cursors be used without re-parsing the statement.

0 commit comments

Comments
 (0)