@@ -506,7 +506,10 @@ This property helps avoid situations where using JavaScript types can
506
506
lead to numeric precision loss, or where date conversion is unwanted.
507
507
508
508
The valid types that can be mapped to strings are
509
- [ ` DATE ` ] ( #oracledbconstantsnodbtype ) and [ ` NUMBER ` ] ( #oracledbconstantsnodbtype ) .
509
+ [ ` DATE ` ] ( #oracledbconstantsnodbtype ) and
510
+ [ ` NUMBER ` ] ( #oracledbconstantsnodbtype ) . Columns of type ` ROWID ` and
511
+ ` TIMESTAMP WITH TIME ZONE ` that cannot natively be fetched can also be
512
+ mapped and fetched as strings.
510
513
511
514
The maximum length of a string created by this mapping is 200 bytes.
512
515
@@ -2847,10 +2850,10 @@ The default query result type mappings for Oracle Database types to JavaScript t
2847
2850
Therefore, timestamps having greater
2848
2851
precision lose their sub-millisecond fractional part
2849
2852
when fetched. Internally, ` TIMESTAMP ` and ` DATE `
2850
- columns are fetched as ` TIMESTAMP WITH LOCAL TIMEZONE ` using
2853
+ columns are fetched as ` TIMESTAMP WITH LOCAL TIME ZONE ` using
2851
2854
[OCIDateTime](https://docs.oracle.com/database/121/LNOCI/oci12oty.htm#LNOCI16840).
2852
2855
When binding a JavaScript Date value in an ` INSERT ` statement, the date is also inserted as ` TIMESTAMP WITH
2853
- LOCAL TIMEZONE ` using OCIDateTime.
2856
+ LOCAL TIME ZONE ` using OCIDateTime.
2854
2857
2855
2858
##### Fetching as String
2856
2859
@@ -3695,8 +3698,8 @@ returned array length is not greater than one. This will help identify
3695
3698
invalid data or an incorrect ` WHERE ` clause that causes more results
3696
3699
to be returned.
3697
3700
3698
- Oracle Database DATE, TIMESTAMP and TIMESTAMP WITH LOCAL TIME ZONE
3699
- types can be bound as ` DATE ` for DML RETURNING. These types and ROWID
3701
+ Oracle Database ` DATE ` , ` TIMESTAMP ` and ` TIMESTAMP WITH LOCAL TIME ZONE `
3702
+ types can be bound as ` DATE ` for DML RETURNING. These types and ` ROWID `
3700
3703
can also be bound as ` STRING ` .
3701
3704
3702
3705
An example of DML RETURNING binds is:
0 commit comments