On Fri, 04 Nov 2011 12:13:34 +0100, Piotr Szturmaj wrote: > > Why not return a range, that will fetch next row when needed? popFront() > will call socket's recv, parse and then store that row for the front() > calls. This may be internally buffered to 100 rows or so. > > Example: https://github.com/pszturmaj/ddb/blob/master/postgres.d#L2145
I use a range in both cases, getting the whole result set or fetching a row at a time. It's just the whole result set case I'm wondering about. Steve