Skip to content

Commit 5d8e9f5

Browse files
committed
Just use constant names in doc
1 parent a619447 commit 5d8e9f5

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

doc/api.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -182,19 +182,19 @@ Usage of these constants is described later in this document.
182182
#### Query result [outFormat](#propdboutformat) option constants:
183183

184184
```
185-
Number ARRAY = 1 // rows as array of column values
185+
Oracledb.ARRAY // rows as array of column values
186186
187-
Number OBJECT = 2 // row as objects
187+
Oracledb.OBJECT // row as objects
188188
```
189189

190190
#### Constants for [bind parameter](#executebindParams) `type` properties:
191191

192192
```
193-
Number STRING = 2001 // JavaScript string type
193+
Oracledb.STRING // JavaScript string type
194194
195-
Number NUMBER = 2002 // JavaScript number type
195+
Oracledb.NUMBER // JavaScript number type
196196
197-
Number DATE = 2003 // JavaScript date type
197+
Oracledb.DATE // JavaScript date type
198198
```
199199

200200
#### Constants for [bind parameter](#executebindParams) `dir` properties
@@ -203,11 +203,11 @@ These specify whether bound values are passed into or out from the
203203
database:
204204

205205
```
206-
Number BIND_IN = 1 // for IN binds
206+
Oracledb.BIND_IN // for IN binds
207207
208-
Number BIND_INOUT = 2 // for IN OUT binds
208+
Oracledb.BIND_INOUT // for IN OUT binds
209209
210-
Number BIND_OUT = 3 // or OUT binds
210+
Oracledb.BIND_OUT // or OUT binds
211211
212212
```
213213

0 commit comments

Comments
 (0)