@@ -1165,7 +1165,7 @@ This property may be overridden in an [`execute()`](#executeoptions)
1165
1165
call.
1166
1166
1167
1167
To improve database efficiency, SQL queries should use a row limiting
1168
- clause like [ OFFSET / FETCH] ( #pagingdata ) or equivalent. The ` maxRows `
1168
+ clause like [ ` OFFSET ` / ` FETCH ` ] ( #pagingdata ) or equivalent. The ` maxRows `
1169
1169
property can be used to stop badly coded queries from returning
1170
1170
unexpectedly large numbers of rows.
1171
1171
@@ -7461,7 +7461,7 @@ Any rows beyond the `maxRows` limit are not returned. If `maxRows` is
7461
7461
0, then the number of rows is only limited by Node.js memory.
7462
7462
7463
7463
To improve database efficiency, SQL queries should use a row limiting
7464
- clause like [OFFSET / FETCH](#pagingdata) or equivalent. The `maxRows`
7464
+ clause like [` OFFSET` / ` FETCH` ](#pagingdata) or equivalent. The `maxRows`
7465
7465
property can be used to stop badly coded queries from returning
7466
7466
unexpectedly large numbers of rows.
7467
7467
@@ -8138,9 +8138,9 @@ How to do 'web pagination' is discussed in this section. For each
8138
8138
of rows from a table. Since the query will be executed more than
8139
8139
once, make sure to use bind variables for row numbers and row limits.
8140
8140
8141
- Oracle Database 12c SQL has an ` OFFSET ` / ` FETCH ` clause (See [Row
8142
- Limiting: Examples][5], which is similar to the LIMIT keyword of
8143
- MySQL.
8141
+ Oracle Database 12c SQL introduced an ` OFFSET ` / ` FETCH ` clause which
8142
+ is similar to the LIMIT keyword of MySQL. See [Row Limiting:
8143
+ Examples][5] in the Oracle documentation. A node-oracledb example is:
8144
8144
8145
8145
` ` ` javascript
8146
8146
var myoffset = 0 ; // do not skip any rows (start at row 1)
@@ -8155,7 +8155,7 @@ connection.execute(
8155
8155
. . .
8156
8156
` ` `
8157
8157
8158
- See [rowlimit.js][84].
8158
+ A runnable example is in [rowlimit.js][84].
8159
8159
8160
8160
You can use a basic [` execute ()` ](#execute) or a
8161
8161
[ResultSet](#resultsetclass), or [` queryStream ()` ](#querystream) with
@@ -8173,10 +8173,8 @@ efficient to let Oracle Database do the row selection in the SQL query
8173
8173
and only return the exact number of rows required to node-oracledb.
8174
8174
8175
8175
For Oracle Database 11g and earlier there are several alternative ways
8176
- to limit the number of rows returned. Refer to [Oracle Magazine][85]
8177
- for details.
8178
-
8179
- The old, canonical paging query is:
8176
+ to limit the number of rows returned. The old, canonical paging query
8177
+ is:
8180
8178
8181
8179
` ` ` SQL
8182
8180
SELECT *
@@ -8211,6 +8209,9 @@ SELECT last_name FROM
8211
8209
WHERE myr BETWEEN 1 and 20
8212
8210
` ` `
8213
8211
8212
+ Refer to [On Top-n and Pagination Queries][85] in Oracle Magazine for
8213
+ details.
8214
+
8214
8215
#### <a name="autoincrement"></a> 13.1.8 Auto-Increment Columns
8215
8216
8216
8217
From Oracle Database 12c you can create tables with auto-incremented
@@ -11979,8 +11980,8 @@ When upgrading from node-oracledb version 1.13 to version 2.0:
11979
11980
11980
11981
- For [direct fetches](#fetchingrows) that relied on the version 1
11981
11982
default value of [` maxRows` ](#propdbmaxrows) to limit the number of
11982
- returned rows to 100, it is recommended to use an [OFFSET /
11983
- FETCH](#pagingdata) query clause. Alternatively explicitly set
11983
+ returned rows to 100, it is recommended to use an [` OFFSET ` /
11984
+ ` FETCH ` ](#pagingdata) query clause. Alternatively explicitly set
11984
11985
` maxRows` to 100.
11985
11986
11986
11987
- Review and update code that checks for specific *NJS-XXX* or
0 commit comments