Skip to content

Commit f986c35

Browse files
committed
Move the migration sections to a single "chapter"
1 parent 8b79772 commit f986c35

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

doc/api.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,9 @@ limitations under the License.
230230
- 20.1 [Custom Promise Libraries](#custompromises)
231231
21. [Async/Await and node-oracledb](#asyncawaitoverview)
232232
22. [Tracing SQL and PL/SQL Statements](#tracingsql)
233-
23. [Migrating from node-oracledb 1.13 to node-oracledb 2.0](#migratev1v2)
234-
24. [Migrating from node-oracledb 2.0 to node-oracledb 2.1](#migratev20v21)
233+
23. [Migrating from Previous node-oracledb Releases](#migrate)
234+
- 23.1 [Migrating from node-oracledb 1.13 to node-oracledb 2.0](#migratev1v2)
235+
- 23.2 [Migrating from node-oracledb 2.0 to node-oracledb 2.1](#migratev20v21)
235236

236237
## <a name="intro"></a> 1. Introduction
237238

@@ -6672,7 +6673,9 @@ parameters.
66726673
66736674
PL/SQL users may be interested in using [PL/Scope][78].
66746675
6675-
## <a name="migratev1v2"></a> 23. Migrating from node-oracledb 1.13 to node-oracledb 2.0
6676+
## <a name="migrate"></a> 23. Migrating from Previous node-oracledb Releases
6677+
6678+
### <a name="migratev1v2"></a> 23.1 Migrating from node-oracledb 1.13 to node-oracledb 2.0
66766679
66776680
When upgrading from node-oracledb version 1.13 to version 2.0:
66786681
@@ -6726,7 +6729,7 @@ When upgrading from node-oracledb version 1.13 to version 2.0:
67266729
- Test applications to check if changes such as the improved property
67276730
validation uncover latent problems in your code.
67286731
6729-
## <a name="migratev20v21"></a> 24. Migrating from node-oracledb 2.0 to node-oracledb 2.1
6732+
### <a name="migratev20v21"></a> 23.2 Migrating from node-oracledb 2.0 to node-oracledb 2.1
67306733
67316734
When upgrading from node-oracledb version 2.0 to version 2.1:
67326735
@@ -6737,6 +6740,7 @@ When upgrading from node-oracledb version 2.0 to version 2.1:
67376740
- Stop passing a callback.
67386741
- Optionally pass an error.
67396742
6743+
67406744
[1]: https://www.npmjs.com/package/oracledb
67416745
[2]: https://github.com/oracle/node-oracledb/blob/master/INSTALL.md
67426746
[3]: https://github.com/oracle/node-oracledb/tree/master/examples

0 commit comments

Comments
 (0)