rsmgclient icon indicating copy to clipboard operation
rsmgclient copied to clipboard

Improve the matching of the return value of `Connection::fetch` in `Connection::fetchone`

Open antaljanosbenjamin opened this issue 4 years ago • 0 comments

Connection::fetch will only return two combinations:

  • (Some(row), None): when a new row is obtained
  • (None, Some(has_more)) when there is no more records

In contrast what we are expecting is:

  • (Some(row), None)
  • (Some(row), Some(has_more))
  • (None, _)

These sohuld be syncronized.

antaljanosbenjamin avatar Sep 23 '21 10:09 antaljanosbenjamin