the list of objects are for when the query is set to return exactly one mapped 
class.  query.column_descriptions will show this.


On Oct 28, 2013, at 12:44 PM, lars van gemerden <[email protected]> wrote:

> Hi,
> 
> Short question: when does e.g. query.all() returns a list of objects and when 
> it returns a list of NamedTuple's?
> 
> is it only after you call add_columns() on the query that all() starts 
> returning NamedTuple's? 
> 
> Cheers, Lars
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sqlalchemy" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/sqlalchemy.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to