Skip to content

Commit a568de9

Browse files
committed
Correct case of parameters
1 parent e736a81 commit a568de9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

doc/api.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8790,13 +8790,13 @@ const connection = await oracledb.getConnection(
87908790
user : "hr",
87918791
password : mypw, // mypw contains the hr schema password
87928792
connectString : "localhost/orclpdb1",
8793-
shardingkey : ["SCOTT"]
8793+
shardingKey : ["SCOTT"]
87948794
});
87958795
```
87968796

87978797
Similar code works for NUMBER keys.
87988798

8799-
The `shardingkey` and `superShardingKey` properties are arrays because multiple
8799+
The `shardingKey` and `superShardingKey` properties are arrays because multiple
88008800
values can be used. If database shards had been partitioned with multiple keys
88018801
such as with:
88028802

@@ -8821,7 +8821,7 @@ const connection = await oracledb.getConnection(
88218821
user : "hr",
88228822
password : mypw, // mypw contains the hr schema password
88238823
connectString : "localhost/orclpdb1",
8824-
shardingkey : [70, "SCOTT"]
8824+
shardingKey : [70, "SCOTT"]
88258825
});
88268826
```
88278827

@@ -8850,7 +8850,7 @@ const connection = await oracledb.getConnection(
88508850
user : "hr",
88518851
password : mypw, // mypw contains the hr schema password
88528852
connectString : "localhost/orclpdb1",
8853-
shardingkey : [key]
8853+
shardingKey : [key]
88548854
});
88558855
```
88568856

@@ -8878,7 +8878,7 @@ const connection = await oracledb.getConnection(
88788878
user : "hr",
88798879
password : mypw, // mypw contains the hr schema password
88808880
connectString : "localhost/orclpdb1",
8881-
shardingkey : [key]
8881+
shardingKey : [key]
88828882
});
88838883
```
88848884

@@ -8907,7 +8907,7 @@ const connection = await oracledb.getConnection(
89078907
password : mypw, // mypw contains the hr schema password
89088908
connectString : "localhost/orclpdb1",
89098909
superShardingKey: ["gold"]
8910-
shardingkey : ["SCOTT"],
8910+
shardingKey : ["SCOTT"],
89118911
});
89128912
```
89138913

0 commit comments

Comments
 (0)