On Aug 19, 2010, at 10:58 AM, chaouche yacine wrote:

> Hello list,
> 
> What is the best way to select a subset of my model's columns ?
> 
> Model.query. ... ?

Of only one  model? Un-aggregated? If yes, don't bother.

Otherwise, "standard" SA selects.


select([Model.foo, Model.bar])

Diez

-- 
You received this message because you are subscribed to the Google Groups 
"SQLElixir" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sqlelixir?hl=en.

Reply via email to