Skip to content

Commit bc8572d

Browse files
committed
Move ROWID and TIMESTAMP WITH TIMEZONE string mapping to correct doc section
1 parent 7aa6dff commit bc8572d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

doc/api.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -546,9 +546,7 @@ See [Result Type Mapping](#typemap) for more discussion.
546546

547547
The valid types that can be mapped to strings are
548548
[`DATE`](#oracledbconstantsnodbtype), [`NUMBER`](#oracledbconstantsnodbtype) and
549-
[`CLOB`](#oracledbconstantsnodbtype). Columns of type `ROWID` and
550-
`TIMESTAMP WITH TIME ZONE` that cannot natively be fetched can also be
551-
mapped and fetched as strings.
549+
[`CLOB`](#oracledbconstantsnodbtype).
552550

553551
For non-CLOB types, the maximum length of a string created by this
554552
mapping is 200 bytes. Strings created for CLOB columns will generally
@@ -1694,13 +1692,15 @@ Object fetchInfo
16941692
```
16951693

16961694
Object defining how query column data should be represented in JavaScript.
1695+
It can be used in conjunction with, or instead of, the global
1696+
setting [`fetchAsString`](#propdbfetchasstring).
16971697

16981698
The `fetchInfo` property can be used to indicate that number and date
16991699
columns in a query should be returned as strings instead of their
1700-
native format. It also indicates that CLOB columns should be returned
1701-
as strings instead of [Lob](#lobclass) instances. The property can be
1702-
used in conjunction with, or instead of, the global
1703-
setting [`fetchAsString`](#propdbfetchasstring).
1700+
native format. When used for CLOB columns, they are returned as
1701+
strings instead of [Lob](#lobclass) instances. Columns of type
1702+
`ROWID` and `TIMESTAMP WITH TIME ZONE` that cannot natively be fetched
1703+
can also be mapped and fetched as strings.
17041704

17051705
For example:
17061706

0 commit comments

Comments
 (0)