You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: