Skip to content

Commit 14001f7

Browse files
committed
Mention CLOBs can be bound as STRING for OUT binds
1 parent 45d0019 commit 14001f7

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

doc/api.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6191,7 +6191,7 @@ and [`maxSize`](#executebindParams) properties is used:
61916191
explicitly set to `oracledb.STRING`, `oracledb.NUMBER`,
61926192
`oracledb.DATE`, `oracledb.BLOB`, `oracledb.CLOB` or
61936193
`oracledb.BUFFER`, matching the data type of the Node.js value or
6194-
variable. The output data type will always be the same as the the
6194+
variable. The output data type will always be the same as the
61956195
input data type.
61966196

61976197
For `oracledb.BIND_OUT` parameters the `type` attribute will be the
@@ -6201,7 +6201,15 @@ and [`maxSize`](#executebindParams) properties is used:
62016201
`oracledb.CLOB`. If `type` is not specified for OUT binds then
62026202
`oracledb.STRING` is assumed.
62036203

6204-
Oracle Database RAW, LONG RAW or BLOB data can be bound with a
6204+
Oracle Database CLOB data can be bound with a `type` of
6205+
`oracledb.STRING` to return a Node.js String, or as `type` of
6206+
`oracledb.CLOB` to return a [Lob instance](#lobclass).
6207+
6208+
Oracle Database BLOB data can be bound with a `type` of
6209+
`oracledb.BUFFER` to return a Node.js Buffer, or as `type` of
6210+
`oracledb.BLOB` to return a [Lob instance](#lobclass).
6211+
6212+
Oracle Database RAW and LONG RAW data can be bound with a
62056213
`type` of `oracledb.BUFFER` to return a Node.js Buffer.
62066214

62076215
Oracle Database LONG, ROWID and UROWID data can be bound with a

0 commit comments

Comments
 (0)