We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5b19c8 commit a6b1f59Copy full SHA for a6b1f59
doc/api.md
@@ -1763,6 +1763,11 @@ to return query results, see [Tuning Fetch Performance](#rowfetching).
1763
The `prefetchRows` value is ignored in some cases, such as when the query
1764
involves a LOB.
1765
1766
+If you fetch a REF CURSOR and subsequently pass it back to a PL/SQL block, then
1767
+set `prefetchRows` to 0 during the initial query to ensure that rows are not
1768
+internally fetched from the REF CURSOR by node-oracledb thus making them
1769
+unavailable in the PL/SQL code.
1770
+
1771
The default value is 2.
1772
1773
This property may be overridden in an [`connection.execute()`](#execute) call,
0 commit comments