News for hackers. Stuff that matters.
Re:Diesel: A Safe, Extensible ORM and Query Builder for Rust by Manishearth on Saturday February 06, 2016 @01:17PM (#11048909)
Would it be desirable or possible to instead return a lazy collection that only fetches perhaps 10 results and fetches more as you iterate?
Re:Diesel: A Safe, Extensible ORM and Query Builder for Rust by rabidferret on Saturday February 06, 2016 @02:45PM (#11049407)
It's impossible. We can't guarantee the order of the result set, so we'd have to iterate the entire collection just to implement `next`