Closed idododu closed 5 years ago
You can look at this passing test for proof that this isn't true: https://github.com/olavim/objection-cursor/blob/master/test/cursor.js#L121
models.length
is the amount of rows returned by the query. rs
is the amount of rows that the query would produce without limit
and offset
applied. See https://vincit.github.io/objection.js/api/query-builder/other-methods.html#resultsize.
However, have you encountered a case where remaining
is equal to 0 when it shouldn't?
closing as stale