Skip to content

Commit eb23809

Browse files
committed
Note the DB 18c version gotcha
1 parent 319e73d commit eb23809

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

doc/api.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1981,6 +1981,11 @@ readonly Number oracleServerVersion
19811981
This readonly property gives a numeric representation of the Oracle database version which is useful in comparisons.
19821982
For version *a.b.c.d.e*, this property gives the number: `(100000000 * a) + (1000000 * b) + (10000 * c) + (100 * d) + e`
19831983

1984+
Note if you connect to Oracle Database 18, the version will only be
1985+
accurate if node-oracledb is also using Oracle Database 18 client
1986+
libraries. Otherwise it will show the base release such as 1800000000
1987+
instead of 1803000000.
1988+
19841989
This property was added in node-oracledb 1.3.
19851990

19861991
#### <a name="propconnoracleserverversionstring"></a> 4.1.5 `connection.oracleServerVersionString`
@@ -1991,6 +1996,11 @@ readonly String oracleServerVersionString
19911996

19921997
This readonly property gives a string representation of the Oracle database version which is useful for display.
19931998

1999+
Note if you connect to Oracle Database 18, the version will only be
2000+
accurate if node-oracledb is also using Oracle Database 18 client
2001+
libraries. Otherwise it will show the base release such as
2002+
"18.0.0.0.0" instead of "18.3.0.0.0".
2003+
19942004
This property was added in node-oracledb 2.2.
19952005

19962006
#### <a name="propconnstmtcachesize"></a> 4.1.6 `connection.stmtCacheSize`

0 commit comments

Comments
 (0)