What version of SQLA are you using? In .5 , you can pass individual
columns instead of a mapped class to session.query.

On Wed, Nov 19, 2008 at 12:17 PM, Moshe C. <[EMAIL PROTECTED]> wrote:
>
> For Query there is an add_column() method, but I do not see a remove
> column method.
> Initializing a Query requires a full mapped class, so how can I select
> on only a subset of the columns.
>
> I want to do this for ding a DISTINCT query on only a couple of
> columns.
>
> TIA
> Moshe
>
> >
>

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

Reply via email to