H1 2015 - db access support in Phobos

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Tue Feb 3 11:39:39 PST 2015


On 2015-02-03 17:42, FG wrote:

> A misfeature? If the ORM only allowed SELECT *, it wouldn't be of much
> use with records containing blobs or big amounts of other data. If the
> object was retrieved only for read and to update a few fields, pulling
> all columns would be very wasteful.

Martin Nowak showed, somewhere here on the forums, how this can be 
nicely done. The final query will only contain the fields which are 
actually used in the code.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list