Skip to content

Commit 7c992ed

Browse files
committed
Fix SODA role sentence. Add note about browser usage.
1 parent 0ae33e1 commit 7c992ed

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

doc/api.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -510,8 +510,10 @@ editions, or require additional database options or packs.
510510

511511
Install Node.js from [nodejs.org][88].
512512

513-
Install node-oracledb using the [Quick Start Node-oracledb
514-
Installation][87] steps.
513+
Install node-oracledb using the [Quick Start Node-oracledb Installation][87]
514+
steps. Node-oracledb runs in Node.js, typically as a mid-tier application
515+
server or service. Node-oracledb applications will not run directly in a
516+
browser.
515517

516518
Download node-oracledb [examples][3] or create a script like the one
517519
below. As well as [Async/Await](#asyncawaitoverview) functions,
@@ -590,7 +592,7 @@ With Oracle's sample [HR schema][4], the output is:
590592

591593
[node-oracledb's SODA API](#sodaoverview) can be used with Oracle Database 18
592594
and above, when node-oracledb uses Oracle Client 18.5 or Oracle Client 19.3, or
593-
later. Users who have been granted the SODA_APP role.
595+
later. Users require the CREATE TABLE privilege and the SODA_APP role.
594596

595597
```javascript
596598
// mysoda.js
@@ -645,6 +647,12 @@ async function run() {
645647
run();
646648
```
647649

650+
Output is:
651+
652+
```
653+
Sally lives in Melbourne.
654+
```
655+
648656
## <a name="errorobj"></a> 2. Errors
649657

650658
The last parameter of each method is a callback, unless

0 commit comments

Comments
 (0)