Add all() function to the ResultSet API

Description

Since ResultSet indexing support will be removed in the next major, I'd like to provide a shortcut fonction that returns all rows as a list: .all(). I think it is more convenient to use .all() than always using list(resultset).

  • The documentation should mention the importance about not using this function if the expected number of results is large.

The naming is based on the java-driver.

Environment

None

Pull Requests

None

Assignee

Alan Boudreault

Reporter

Alan Boudreault

Fix versions

Labels

None

PM Priority

None

External issue ID

None

Doc Impact

None

Reviewer

None

Size

None

Priority

Major
Configure