File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -14497,6 +14497,19 @@ const binds = { bv: { type: "NAME_ARRAY", val: inlist } };
14497
14497
const result = await connection.execute(sql, binds, options);
14498
14498
```
14499
14499
14500
+ You may decide to overload the use of the database `SYS.ODCIVARCHAR2LIST` or
14501
+ `SYS.ODCINUMBERLIST` types so you don't need to create a type like
14502
+ `name_array`:
14503
+
14504
+ ```javascript
14505
+ const binds = { bv: { type: 'SYS.ODCIVARCHAR2LIST', val: inlist } };
14506
+ ```
14507
+
14508
+ Since this `TABLE()` solution uses an object type, there is a performance
14509
+ impact because of the extra [round-trips](#roundtrips) required to get the type
14510
+ information. Unless you have a large number of binds you may prefer one of the
14511
+ previous solutions.
14512
+
14500
14513
Some general references are [On Cursors, SQL, and Analytics][59] and in [this
14501
14514
StackOverflow answer][60].
14502
14515
You can’t perform that action at this time.
0 commit comments