java.jdbc

Improve laziness with as-arrays?

Details

  • Type: Enhancement Enhancement
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

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.

Activity

Hide
Sean Corfield added a comment -

Will be in alpha6/beta1

Show
Sean Corfield added a comment - Will be in alpha6/beta1

People

Vote (1)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: