Skip to content

Commit 4c65758

Browse files
committed
Fix section ordering
1 parent f3d26f0 commit 4c65758

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

doc/api.md

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,33 @@ var oracledb = require('oracledb');
447447
oracledb.fetchAsString = [ oracledb.DATE, oracledb.NUMBER ];
448448
```
449449

450-
#### <a name="propdbmaxrows"></a> 3.2.5 maxRows
450+
#### <a name="propdblobprefetchsize"></a> 3.2.5 lobPrefetchSize
451+
452+
```
453+
Number lobPrefetchSize
454+
```
455+
456+
This attribute is temporarily disabled. Setting it has no effect.
457+
458+
Node-oracledb internally uses Oracle *LOB Locators* to manipulate long
459+
object (LOB) data. LOB Prefetching allows LOB data to be returned
460+
early to node-oracledb when these locators are first returned.
461+
This is similar to the way [row prefetching](#rowprefetching) allows
462+
for efficient use of resources and round-trips between node-oracledb
463+
and the database.
464+
465+
Prefetching of LOBs is mostly useful for small LOBs.
466+
467+
The default size is 16384.
468+
469+
##### Example
470+
471+
```javascript
472+
var oracledb = require('oracledb');
473+
oracledb.lobPrefetchSize = 16384;
474+
```
475+
476+
#### <a name="propdbmaxrows"></a> 3.2.6 maxRows
451477

452478
```
453479
Number maxRows
@@ -486,32 +512,6 @@ var oracledb = require('oracledb');
486512
oracledb.maxRows = 100;
487513
```
488514

489-
#### <a name="propdblobprefetchsize"></a> 3.2.6 lobPrefetchSize
490-
491-
```
492-
Number lobPrefetchSize
493-
```
494-
495-
This attribute is temporarily disabled. Setting it has no effect.
496-
497-
Node-oracledb internally uses Oracle *LOB Locators* to manipulate long
498-
object (LOB) data. LOB Prefetching allows LOB data to be returned
499-
early to node-oracledb when these locators are first returned.
500-
This is similar to the way [row prefetching](#rowprefetching) allows
501-
for efficient use of resources and round-trips between node-oracledb
502-
and the database.
503-
504-
Prefetching of LOBs is mostly useful for small LOBs.
505-
506-
The default size is 16384.
507-
508-
##### Example
509-
510-
```javascript
511-
var oracledb = require('oracledb');
512-
oracledb.lobPrefetchSize = 16384;
513-
```
514-
515515
#### <a name="propdboracleClientVersion"></a> 3.2.7 oracleClientVersion
516516

517517
```

0 commit comments

Comments
 (0)