You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/api.md
+49-33Lines changed: 49 additions & 33 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -255,7 +255,9 @@ Oracledb.ARRAY // Fetch each row as array of column values
255
255
Oracledb.OBJECT // Fetch each row as an object
256
256
```
257
257
258
-
#### Type constants for `execute()`[bind parameter](#executebindParams) and [Lob](#proplobpiecesize)`type` properties, for [`fetchAsString`](#propdbfetchasstring), and for [`fetchInfo`](#propfetchinfo). Not all constants can be used in all places:
258
+
#### Type constants for `execute()`[bind parameter](#executebindParams) and [Lob](#proplobpiecesize)`type` properties, for [`fetchAsString`](#propdbfetchasstring), and for [`fetchInfo`](#propfetchinfo)
259
+
260
+
Not all constants can be used in all places:
259
261
260
262
```
261
263
Oracledb.BLOB // Bind a BLOB to a Node.js Stream
@@ -2842,38 +2844,51 @@ variable, is used during execution of the SQL statement.
2842
2844
2843
2845
In this example, the SQL bind parameters *:country\_id* and
2844
2846
*:country\_name* can be bound to values in node-oracledb using an
2845
-
array:
2847
+
array. This is often called "bind by position":
2846
2848
2847
2849
```javascript
2848
-
connection.execute("INSERT INTO countries VALUES (:country_id, :country_name)",
0 commit comments