Skip to content

Commit f7ff4dc

Browse files
committed
Update bind IN and IN OUT type lists
1 parent a2c58ec commit f7ff4dc

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

doc/api.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4662,10 +4662,12 @@ connection.execute(
46624662
});
46634663
```
46644664
4665-
For IN binds the direction must be `BIND_IN`. The type can be
4666-
`STRING`, `NUMBER`, `DATE` matching the data. The type `BUFFER` can
4667-
bind a Node.js Buffer to an Oracle Database `RAW` or `BLOB` type. The
4668-
type `CURSOR` cannot be used with IN binds.
4665+
For IN binds the direction must be `BIND_IN`. The bind type can be
4666+
`STRING`, `NUMBER`, `DATE` matching the standard JavaScript types.
4667+
The bind type can be `BLOB` and `CLOB` to pass in [Lob](#lobclass)
4668+
instances. The type `BUFFER` can bind a Node.js Buffer to an Oracle
4669+
Database `RAW` or `BLOB` type. The type `CURSOR` cannot be used with
4670+
IN binds.
46694671
46704672
### <a name="outbind"></a> 13.2 OUT and IN OUT Bind Parameters
46714673
@@ -4679,7 +4681,7 @@ properties is used. For
46794681
The `dir` attribute should be `BIND_OUT` or `BIND_INOUT`.
46804682
46814683
For `BIND_INOUT` parameters, the `type` attribute should be `STRING`,
4682-
`NUMBER`, `DATE` or `BUFFER`.
4684+
`NUMBER`, `DATE`, `BLOB`, `CLOB` or `BUFFER`.
46834685
46844686
For `BIND_OUT` parameters the `type` attribute should be `STRING`,
46854687
`NUMBER`, `DATE`, `CURSOR`, `BLOB`, `CLOB` or `BUFFER`.

0 commit comments

Comments
 (0)