question on dub and postgresql

Mike Parker aldacron at gmail.com
Mon Oct 5 15:21:01 UTC 2020


On Monday, 5 October 2020 at 15:08:54 UTC, Alaindevos wrote:

>>
> Yet it would be nice to know why i can't iterate directly over 
> answer using foreach.

Looking at the implementation of the `Answer` type [1], I see no 
way to create a range or a slice, and no `opApply`. So you'll 
have to ask the maintainer about that.

[1] 
https://github.com/denizzzka/dpq2/blob/master/src/dpq2/result.d#L107


More information about the Digitalmars-d-learn mailing list