Skip to content

Commit d3a3991

Browse files
committed
docs: fix typo
1 parent abe9b1e commit d3a3991

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717
## Install
1818

1919
> Prerequisites:
20-
>
20+
>
2121
> - [Python 2.7](https://www.python.org/downloads/)
2222
> - C Compiler with support for C++ 11 (Xcode, gcc, Visual Studio or similar)
2323
> - Oracle 11.2, 12.1 or 12.2 client libraries. Use the small, free [Oracle Instant Client](http://www.oracle.com/technetwork/database/features/instant-client/index-100365.html) "basic" and "SDK" packages if your database is remote. Or use the libraries and headers from a locally installed database such as the free [Oracle XE](http://www.oracle.com/technetwork/database/database-technologies/express-edition/overview/index.html) release.
24-
>
24+
>
2525
> Oracle's standard client-server network compatibility applies: Oracle Client 12.2 can connect to Oracle Database 11.2 or greater. Oracle Client 12.1 can connect to Oracle Database 10.2 or greater. Oracle Client 11.2 can connect to Oracle Database 9.2 or greater.
2626
> - Set `OCI_LIB_DIR` and `OCI_INC_DIR` during installation if the Oracle libraries and headers are in non-default location
27-
>
27+
>
2828
> See [INSTALL](https://github.com/oracle/node-oracledb/tree/master/INSTALL.md) for details.
2929
3030

@@ -34,7 +34,7 @@ $ npm i egg-oracle --save
3434

3535
## Usage
3636

37-
* open plugin
37+
* open plugin
3838

3939
```js
4040
// {app_root}/config/plugin.js
@@ -56,13 +56,13 @@ module.exports = app => {
5656
const connection = await app.oracle.getConnection();
5757
const result = await connnection.execute('SELECT sysdate AS "date" FROM dual');
5858
connection.close();
59-
console.log(sesult.rows[0].date);
59+
console.log(result.rows[0].date);
6060
}
6161
// it work
6262
async foo2() {
6363
const result = await app.oracle.execute('SELECT sysdate AS "date" FROM dual');
6464
connection.close();
65-
console.log(sesult.rows[0].date);
65+
console.log(result.rows[0].date);
6666
}
6767
}
6868
return MyService;

0 commit comments

Comments
 (0)