metabase / toucan

A classy high-level Clojure library for defining application models and retrieving them from a DB
Eclipse Public License 1.0
570 stars 49 forks source link

Add lazy/streaming versions of functions like select #25

Closed camsaul closed 3 years ago

camsaul commented 6 years ago

When fetching huge numbers of rows this would certainly be a nice option to have. Whether we take advantage of DB cursors, or perhaps come up with some method to do a series of requests with paging, or some other method, this would prevent us from having to drop down to low-level clojure.java.jdbc queries for these sorts of things.

camsaul commented 3 years ago

This was implemented a while back. We have select-reducible which does this