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.

Reply via email to