Skip to content

Commit 85dad96

Browse files
committed
Correct rowsAffected description (Issue #1280)
1 parent 6c15f1f commit 85dad96

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

doc/api.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3795,10 +3795,9 @@ returned for each cursor is limited by `maxRows`.
37953795
Number rowsAffected
37963796
```
37973797

3798-
For [DML][14] statements (including SELECT FOR UPDATE) this contains
3799-
the number of rows affected, for example the number of rows
3800-
inserted. For non-DML statements such as queries and PL/SQL statements,
3801-
`rowsAffected` is undefined.
3798+
For [DML][14] statements this contains the number of rows affected, for example
3799+
the number of rows inserted. For non-DML statements such as queries and PL/SQL
3800+
statements, `rowsAffected` is undefined.
38023801

38033802
Due to Node.js type limitations, the largest value shown will be
38043803
2<sup>32</sup> - 1, even if more rows were affected. Larger values will wrap.

0 commit comments

Comments
 (0)