@@ -8790,13 +8790,13 @@ const connection = await oracledb.getConnection(
8790
8790
user : "hr",
8791
8791
password : mypw, // mypw contains the hr schema password
8792
8792
connectString : "localhost/orclpdb1",
8793
- shardingkey : ["SCOTT"]
8793
+ shardingKey : ["SCOTT"]
8794
8794
});
8795
8795
```
8796
8796
8797
8797
Similar code works for NUMBER keys.
8798
8798
8799
- The `shardingkey ` and `superShardingKey` properties are arrays because multiple
8799
+ The `shardingKey ` and `superShardingKey` properties are arrays because multiple
8800
8800
values can be used. If database shards had been partitioned with multiple keys
8801
8801
such as with:
8802
8802
@@ -8821,7 +8821,7 @@ const connection = await oracledb.getConnection(
8821
8821
user : "hr",
8822
8822
password : mypw, // mypw contains the hr schema password
8823
8823
connectString : "localhost/orclpdb1",
8824
- shardingkey : [70, "SCOTT"]
8824
+ shardingKey : [70, "SCOTT"]
8825
8825
});
8826
8826
```
8827
8827
@@ -8850,7 +8850,7 @@ const connection = await oracledb.getConnection(
8850
8850
user : "hr",
8851
8851
password : mypw, // mypw contains the hr schema password
8852
8852
connectString : "localhost/orclpdb1",
8853
- shardingkey : [key]
8853
+ shardingKey : [key]
8854
8854
});
8855
8855
```
8856
8856
@@ -8878,7 +8878,7 @@ const connection = await oracledb.getConnection(
8878
8878
user : "hr",
8879
8879
password : mypw, // mypw contains the hr schema password
8880
8880
connectString : "localhost/orclpdb1",
8881
- shardingkey : [key]
8881
+ shardingKey : [key]
8882
8882
});
8883
8883
```
8884
8884
@@ -8907,7 +8907,7 @@ const connection = await oracledb.getConnection(
8907
8907
password : mypw, // mypw contains the hr schema password
8908
8908
connectString : "localhost/orclpdb1",
8909
8909
superShardingKey: ["gold"]
8910
- shardingkey : ["SCOTT"],
8910
+ shardingKey : ["SCOTT"],
8911
8911
});
8912
8912
```
8913
8913
0 commit comments