for relations, u can put deferred(name) and noload(name) in 
quety.options( ...). 
no idea for plain columns

On Thursday 16 October 2008 12:56:19 Alex K wrote:
> Hi All,
>
> I wonder if there is a way to set what columns of the object will
> be used during this particular query, to reduce the query in case
> if I need the object, but I don't need all object properties.
>
> is something like this: session.query(User).load('column_a')
> possible?
>
> session.query([...]) - won't apply, since i need mapped object.
>
> Thanks,
> Alex
> 


--~--~---------~--~----~------------~-------~--~----~
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