Open
Description
Assume we have a table which contains 100 rows of data. And we query a select statement with cursor given rowCount = 1000:
cursor.read(1000, (err, rows) => {
// do something
});
And the callback of read() will never be called.
If we set rowCount <= 100, then everything works as expected.
But we can not always know how many rows inside a table. So I think a cursor should work fine when the total row count less than cursor rowCount parameter.