Skip to content

Commit afd83c7

Browse files
committed
Recommend initializing all PL/SQL OUT binds
1 parent c3a5f10 commit afd83c7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

doc/api.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7089,6 +7089,10 @@ and [`maxSize`](#executebindParams) properties is used:
70897089
For [PL/SQL Associative Array binds](#plsqlindexbybinds)
70907090
a [`maxArraySize`](#executebindParams) property is also required
70917091

7092+
Note that before a PL/SQL block returns, all OUT binds should be set
7093+
to NULL or, for REF CURSORS, to an empty result set. See this [GitHub
7094+
Issue][102].
7095+
70927096
#### <a name="outbinds"></a> Accessing OUT Bind Values
70937097

70947098
The [`results`](#executecallback) parameter of the `execute()`
@@ -8849,3 +8853,4 @@ When upgrading from node-oracledb version 2.0 to version 2.1:
88498853
[99]: https://www.oracle.com/pls/topic/lookup?ctx=dblatest&id=GUID-373BAF72-3E63-42FE-8BEA-8A2AEFBF1C35
88508854
[100]: https://www.oracle.com/pls/topic/lookup?ctx=dblatest&id=GUID-ABC7AE4D-64A8-4EA9-857D-BEF7300B64C3
88518855
[101]: https://www.oracle.com/pls/topic/lookup?ctx=dblatest&id=GUID-2BEF5482-CF97-4A85-BD90-9195E41E74EF
8856+
[102]: https://github.com/oracle/node-oracledb/issues/886

0 commit comments

Comments
 (0)