H1 2015 - db access support in Phobos
Robert burner Schadek via Digitalmars-d
digitalmars-d at puremagic.com
Tue Feb 3 02:49:05 PST 2015
On Tuesday, 3 February 2015 at 10:33:25 UTC, Vadim Lopatin wrote:
>
> ORM operations are not a simple single query/statement.
> They often use several queries to load dependent objects.
make it an output range
>
> Of course, some CTFE/UDAs may be used for generation of field
> list, but it is not very helpful IMO.
IMO writing:
foreach(it; db.select<User>("...")) {
}
is epic. you have entered std.(range|algorithm) land.
More information about the Digitalmars-d
mailing list