[JDBC-72] Improve laziness with as-arrays? Created: 03/Nov/13 Updated: 03/Nov/13 Resolved: 03/Nov/13
|Reporter:||Sean Corfield||Assignee:||Sean Corfield|
Currently, query uses vec with as-arrays? so the result set is fully realized before result-set-fn is called. This isn't ideal.
A useful improvement would be to default result-set-fn to vec if as-arrays? else to doall (as currently) and remove the vec call in the conditional argument to result-set-fn.
This would not change the default behavior for as-arrays? true/false but would allow users to override result-set-fn to leverage lazy result set fetching even when using as-arrays? true.
|Comment by Sean Corfield [ 03/Nov/13 9:39 PM ]|
Will be in alpha6/beta1