Besides writing a closure that handles the low-level ResultSet object, .list is the only way to fetch a collection of results. It would be convenient to offer .array, which is much more efficient than Scala Lists, and .iterator, for times when one wants to stream results.
Besides writing a closure that handles the low-level ResultSet object, .list is the only way to fetch a collection of results. It would be convenient to offer .array, which is much more efficient than Scala Lists, and .iterator, for times when one wants to stream results.