Skip to content

Commit 1797d47

Browse files
committed
Add missing quotes in examples
1 parent 9e11d23 commit 1797d47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9944,7 +9944,7 @@ other attributes to a pooled `getConnection()` call, such as for
99449944
tagging](#connpooltagging):
99459945

99469946
```javascript
9947-
const connection = await oracledb.getConnection({ poolAlias: 'hrpool', tag: 'loc=cn;p=1 });
9947+
const connection = await oracledb.getConnection({ poolAlias: 'hrpool', tag: 'loc=cn;p=1' });
99489948

99499949
. . . // Use connection from the pool
99509950

@@ -9955,7 +9955,7 @@ To use the default pool in this way you must explicitly pass the alias
99559955
`default`:
99569956

99579957
```javascript
9958-
const connection = await oracledb.getConnection({ poolAlias: 'default', tag: 'loc=cn;p=1 });
9958+
const connection = await oracledb.getConnection({ poolAlias: 'default', tag: 'loc=cn;p=1' });
99599959

99609960
. . . // Use connection from the pool
99619961

0 commit comments

Comments
 (0)