Fix SODA role sentence. Add note about browser usage.
This commit is contained in:
parent
0ae33e1e68
commit
7c992ed8d0
14
doc/api.md
14
doc/api.md
|
@ -510,8 +510,10 @@ editions, or require additional database options or packs.
|
|||
|
||||
Install Node.js from [nodejs.org][88].
|
||||
|
||||
Install node-oracledb using the [Quick Start Node-oracledb
|
||||
Installation][87] steps.
|
||||
Install node-oracledb using the [Quick Start Node-oracledb Installation][87]
|
||||
steps. Node-oracledb runs in Node.js, typically as a mid-tier application
|
||||
server or service. Node-oracledb applications will not run directly in a
|
||||
browser.
|
||||
|
||||
Download node-oracledb [examples][3] or create a script like the one
|
||||
below. As well as [Async/Await](#asyncawaitoverview) functions,
|
||||
|
@ -590,7 +592,7 @@ With Oracle's sample [HR schema][4], the output is:
|
|||
|
||||
[node-oracledb's SODA API](#sodaoverview) can be used with Oracle Database 18
|
||||
and above, when node-oracledb uses Oracle Client 18.5 or Oracle Client 19.3, or
|
||||
later. Users who have been granted the SODA_APP role.
|
||||
later. Users require the CREATE TABLE privilege and the SODA_APP role.
|
||||
|
||||
```javascript
|
||||
// mysoda.js
|
||||
|
@ -645,6 +647,12 @@ async function run() {
|
|||
run();
|
||||
```
|
||||
|
||||
Output is:
|
||||
|
||||
```
|
||||
Sally lives in Melbourne.
|
||||
```
|
||||
|
||||
## <a name="errorobj"></a> 2. Errors
|
||||
|
||||
The last parameter of each method is a callback, unless
|
||||
|
|
Loading…
Reference in New Issue