@@ -42,14 +42,15 @@ limitations under the License.
42
42
- 3.2.4 [ fetchAsString] ( #propdbfetchasstring )
43
43
- 3.2.5 [ lobPrefetchSize] ( #propdblobprefetchsize )
44
44
- 3.2.6 [ maxRows] ( #propdbmaxrows )
45
- - 3.2.7 [ outFormat] ( #propdboutformat )
46
- - 3.2.8 [ poolIncrement] ( #propdbpoolincrement )
47
- - 3.2.9 [ poolMax] ( #propdbpoolmax )
48
- - 3.2.10 [ poolMin] ( #propdbpoolmin )
49
- - 3.2.11 [ poolTimeout] ( #propdbpooltimeout )
50
- - 3.2.12 [ prefetchRows] ( #propdbprefetchrows )
51
- - 3.2.13 [ stmtCacheSize] ( #propdbstmtcachesize )
52
- - 3.2.14 [ version] ( #propdbversion )
45
+ - 3.2.7 [ oracleClientVersion] ( #propdboracleClientVersion )
46
+ - 3.2.8 [ outFormat] ( #propdboutformat )
47
+ - 3.2.9 [ poolIncrement] ( #propdbpoolincrement )
48
+ - 3.2.10 [ poolMax] ( #propdbpoolmax )
49
+ - 3.2.11 [ poolMin] ( #propdbpoolmin )
50
+ - 3.2.12 [ poolTimeout] ( #propdbpooltimeout )
51
+ - 3.2.13 [ prefetchRows] ( #propdbprefetchrows )
52
+ - 3.2.14 [ stmtCacheSize] ( #propdbstmtcachesize )
53
+ - 3.2.15 [ version] ( #propdbversion )
53
54
- 3.3 [ Oracledb Methods] ( #oracledbmethods )
54
55
- 3.3.1 [ createPool()] ( #createpool )
55
56
- 3.3.2 [ getConnection()] ( #getconnectiondb )
@@ -58,7 +59,8 @@ limitations under the License.
58
59
- 4.1.1 [ action] ( #propconnaction )
59
60
- 4.1.2 [ clientId] ( #propconnclientid )
60
61
- 4.1.3 [ module] ( #propconnmodule )
61
- - 4.1.4 [ stmtCacheSize] ( #propconnstmtcachesize )
62
+ - 4.1.4 [ oracleServerVersion] ( #propconnoracleserverversion )
63
+ - 4.1.5 [ stmtCacheSize] ( #propconnstmtcachesize )
62
64
- 4.2 [ Connection Methods] ( #connectionmethods )
63
65
- 4.2.1 [ break()] ( #break )
64
66
- 4.2.2 [ commit()] ( #commit )
@@ -504,7 +506,23 @@ var oracledb = require('oracledb');
504
506
oracledb .lobPrefetchSize = 16384 ;
505
507
```
506
508
507
- #### <a name =" propdboutformat " ></a > 3.2.7 outFormat
509
+ #### <a name =" propdboracleClientVersion " ></a > 3.2.7 oracleClientVersion
510
+
511
+ ```
512
+ readonly Number oracleClientVersion
513
+ ```
514
+
515
+ This readonly property gives a numeric representation of the Oracle client library version.
516
+ For version * a.b.c.d.e* , this property gives the number: ` (100000000 * a) + (1000000 * b) + (10000 * c) + (100 * d) + e `
517
+
518
+ ##### Example
519
+
520
+ ``` javascript
521
+ var oracledb = require (' oracledb' );
522
+ console .log (" Oracle client library version number is " + oracledb .oracleClientVersion );
523
+ ```
524
+
525
+ #### <a name =" propdboutformat " ></a > 3.2.8 outFormat
508
526
509
527
```
510
528
Number outFormat
@@ -534,7 +552,7 @@ var oracledb = require('oracledb');
534
552
oracledb .outFormat = oracledb .ARRAY ;
535
553
```
536
554
537
- #### <a name =" propdbpoolincrement " ></a > 3.2.8 poolIncrement
555
+ #### <a name =" propdbpoolincrement " ></a > 3.2.9 poolIncrement
538
556
539
557
```
540
558
Number poolIncrement
@@ -554,7 +572,7 @@ var oracledb = require('oracledb');
554
572
oracledb .poolIncrement = 1 ;
555
573
```
556
574
557
- #### <a name =" propdbpoolmax " ></a > 3.2.9 poolMax
575
+ #### <a name =" propdbpoolmax " ></a > 3.2.10 poolMax
558
576
559
577
```
560
578
Number poolMax
@@ -573,7 +591,7 @@ var oracledb = require('oracledb');
573
591
oracledb .poolMax = 4 ;
574
592
```
575
593
576
- #### <a name =" propdbpoolmin " ></a > 3.2.10 poolMin
594
+ #### <a name =" propdbpoolmin " ></a > 3.2.11 poolMin
577
595
578
596
```
579
597
Number poolMin
@@ -593,7 +611,7 @@ var oracledb = require('oracledb');
593
611
oracledb .poolMin = 0 ;
594
612
```
595
613
596
- #### <a name =" propdbpooltimeout " ></a > 3.2.11 poolTimeout
614
+ #### <a name =" propdbpooltimeout " ></a > 3.2.12 poolTimeout
597
615
598
616
```
599
617
Number poolTimeout
@@ -615,7 +633,7 @@ var oracledb = require('oracledb');
615
633
oracledb .poolTimeout = 60 ;
616
634
```
617
635
618
- #### <a name =" propdbprefetchrows " ></a > 3.2.12 prefetchRows
636
+ #### <a name =" propdbprefetchrows " ></a > 3.2.13 prefetchRows
619
637
620
638
```
621
639
Number prefetchRows
@@ -645,7 +663,7 @@ var oracledb = require('oracledb');
645
663
oracledb .prefetchRows = 100 ;
646
664
```
647
665
648
- #### <a name =" propdbstmtcachesize " ></a > 3.2.13 stmtCacheSize
666
+ #### <a name =" propdbstmtcachesize " ></a > 3.2.14 stmtCacheSize
649
667
650
668
```
651
669
Number stmtCacheSize
@@ -672,12 +690,12 @@ var oracledb = require('oracledb');
672
690
oracledb .stmtCacheSize = 30 ;
673
691
```
674
692
675
- #### <a name =" propdbversion " ></a > 3.2.14 version
693
+ #### <a name =" propdbversion " ></a > 3.2.15 version
676
694
```
677
695
readonly Number version
678
696
```
679
697
680
- This readonly property gives a numeric representation of the node-oracledb's version.
698
+ This readonly property gives a numeric representation of the node-oracledb version.
681
699
For version * x.y.z* , this property gives the number: ` (10000 * x) + (100 * y) + z `
682
700
683
701
##### Example
@@ -994,7 +1012,16 @@ This is a write-only property. Displaying a Connection object will
994
1012
show a value of ` null ` for this attribute. See
995
1013
[ End-to-end Tracing, Mid-tier Authentication, and Auditing] ( #endtoend ) .
996
1014
997
- #### <a name =" propconnstmtcachesize " ></a > 4.1.4 stmtCacheSize
1015
+ #### <a name =" propconnoracleserverversion " ></a > 4.1.4 oracleServerVersion
1016
+
1017
+ ```
1018
+ readonly Number oracleServerVersion
1019
+ ```
1020
+
1021
+ This readonly property gives a numeric representation of the Oracle database version.
1022
+ For version * a.b.c.d.e* , this property gives the number: ` (100000000 * a) + (1000000 * b) + (10000 * c) + (100 * d) + e `
1023
+
1024
+ #### <a name =" propconnstmtcachesize " ></a > 4.1.5 stmtCacheSize
998
1025
999
1026
```
1000
1027
readonly Number stmtCacheSize
0 commit comments