@@ -721,13 +721,13 @@ Not all constants can be used in all places.
721
721
722
722
Constant Name | Value |Description
723
723
-------------------------------------|-------|-----------------------------------------------
724
- ` oracledb.BLOB ` | 2007 | Bind a BLOB to a Node.js Stream or create a temporary BLOB, or for fetchAsBuffer and fetchInfo
725
- ` oracledb.BUFFER ` | 2005 | Bind a RAW, LONG RAW or BLOB to a Node.js Buffer
726
- ` oracledb.CLOB ` | 2006 | Bind a CLOB to a Node.js Stream, create a temporary CLOB, or for fetchAsString and fetchInfo
727
- ` oracledb.CURSOR ` | 2004 | Bind a REF CURSOR to a node-oracledb ResultSet class
728
- ` oracledb.DATE ` | 2003 | Bind as JavaScript date type. Can also be used for fetchAsString and fetchInfo
724
+ ` oracledb.BLOB ` | 2019 | Bind a BLOB to a Node.js Stream or create a temporary BLOB, or for fetchAsBuffer and fetchInfo
725
+ ` oracledb.BUFFER ` | 2006 | Bind a RAW, LONG RAW or BLOB to a Node.js Buffer
726
+ ` oracledb.CLOB ` | 2017 | Bind a CLOB to a Node.js Stream, create a temporary CLOB, or for fetchAsString and fetchInfo
727
+ ` oracledb.CURSOR ` | 2021 | Bind a REF CURSOR to a node-oracledb ResultSet class
728
+ ` oracledb.DATE ` | 2014 | Bind as JavaScript date type. Can also be used for fetchAsString and fetchInfo
729
729
` oracledb.DEFAULT ` | 0 | Used with fetchInfo to reset the fetch type to the database type
730
- ` oracledb.NUMBER ` | 2002 | Bind as JavaScript number type. Can also be used for fetchAsString and fetchInfo
730
+ ` oracledb.NUMBER ` | 2010 | Bind as JavaScript number type. Can also be used for fetchAsString and fetchInfo
731
731
` oracledb.STRING ` | 2001 | Bind as JavaScript String type. Can be used for most database types.
732
732
733
733
#### <a name =" oracledbconstantsdbtype " ></a > 3.1.3 Oracle Database Type Constants
@@ -738,24 +738,24 @@ CURSORS. They indicate the Oracle Database type.
738
738
739
739
Constant Name | Value |Description
740
740
-------------------------------------|-------|-----------------------------------------------
741
- ` oracledb.DB_TYPE_BINARY_DOUBLE ` | 101 | BINARY_DOUBLE
742
- ` oracledb.DB_TYPE_BINARY_FLOAT ` | 100 | BINARY_FLOAT
743
- ` oracledb.DB_TYPE_BLOB ` | 113 | BLOB
744
- ` oracledb.DB_TYPE_CHAR ` | 96 | CHAR
745
- ` oracledb.DB_TYPE_CLOB ` | 112 | CLOB
746
- ` oracledb.DB_TYPE_DATE ` | 12 | DATE
747
- ` oracledb.DB_TYPE_LONG ` | 8 | LONG
748
- ` oracledb.DB_TYPE_LONG_RAW ` | 24 | LONG RAW
749
- ` oracledb.DB_TYPE_NCHAR ` | 1096 | NCHAR
750
- ` oracledb.DB_TYPE_NCLOB ` | 1112 | NCLOB
751
- ` oracledb.DB_TYPE_NUMBER ` | 2 | NUMBER or FLOAT
752
- ` oracledb.DB_TYPE_NVARCHAR ` | 1001 | NVARCHAR
753
- ` oracledb.DB_TYPE_RAW ` | 23 | RAW
754
- ` oracledb.DB_TYPE_ROWID ` | 104 | ROWID
755
- ` oracledb.DB_TYPE_TIMESTAMP ` | 187 | TIMESTAMP
756
- ` oracledb.DB_TYPE_TIMESTAMP_LTZ ` | 232 | TIMESTAMP WITH LOCAL TIME ZONE
757
- ` oracledb.DB_TYPE_TIMESTAMP_TZ ` | 188 | TIMESTAMP WITH TIME ZONE
758
- ` oracledb.DB_TYPE_VARCHAR ` | 1 | VARCHAR2
741
+ ` oracledb.DB_TYPE_BINARY_DOUBLE ` | 2008 | BINARY_DOUBLE
742
+ ` oracledb.DB_TYPE_BINARY_FLOAT ` | 2007 | BINARY_FLOAT
743
+ ` oracledb.DB_TYPE_BLOB ` | 2019 | BLOB
744
+ ` oracledb.DB_TYPE_CHAR ` | 2003 | CHAR
745
+ ` oracledb.DB_TYPE_CLOB ` | 2017 | CLOB
746
+ ` oracledb.DB_TYPE_DATE ` | 2011 | DATE
747
+ ` oracledb.DB_TYPE_LONG ` | 2024 | LONG
748
+ ` oracledb.DB_TYPE_LONG_RAW ` | 2025 | LONG RAW
749
+ ` oracledb.DB_TYPE_NCHAR ` | 2004 | NCHAR
750
+ ` oracledb.DB_TYPE_NCLOB ` | 2018 | NCLOB
751
+ ` oracledb.DB_TYPE_NUMBER ` | 2010 | NUMBER or FLOAT
752
+ ` oracledb.DB_TYPE_NVARCHAR ` | 2002 | NVARCHAR
753
+ ` oracledb.DB_TYPE_RAW ` | 2006 | RAW
754
+ ` oracledb.DB_TYPE_ROWID ` | 2005 | ROWID
755
+ ` oracledb.DB_TYPE_TIMESTAMP ` | 2012 | TIMESTAMP
756
+ ` oracledb.DB_TYPE_TIMESTAMP_LTZ ` | 2014 | TIMESTAMP WITH LOCAL TIME ZONE
757
+ ` oracledb.DB_TYPE_TIMESTAMP_TZ ` | 2013 | TIMESTAMP WITH TIME ZONE
758
+ ` oracledb.DB_TYPE_VARCHAR ` | 2001 | VARCHAR2
759
759
760
760
#### <a name =" oracledbconstantsbinddir " ></a > 3.1.4 Execute Bind Direction Constants
761
761
0 commit comments