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