(with-lazy-results) returns large result sets as a lazy seq, in chunks

(with-lazy-results) allows you to stream the results of a very large result set from the database server in chunks, and process them with a lazy sequence. This means that processing can begin immediately when the first chunk arrives, rather than waiting for the entire result set to download; and result sets larger than available memory can be processed.