[sqlalchemy] Re: SA ORM Tutorial: Query

2009-02-26 Thread Michael Bayer
On Feb 26, 2009, at 12:40 AM, a.fowler wrote: Hello, A couple of questions on the tutorial: 1) Why .all() in 3rd (and some others) query code box, but not others? .all() is essentially equivalent to list(query). Some of the examples already iterate the query, such as for x in

[sqlalchemy] Re: SA ORM Tutorial: Query

2009-02-26 Thread a.fowler
A couple of questions on the tutorial: 1) Why .all() in 3rd (and some others) query code box, but not others? .all() is essentially equivalent to list(query). Some of the examples already iterate the query, such as for x in query: print x, others don't - but the tutorial wants you

[sqlalchemy] Re: SA ORM Tutorial: Query

2009-02-26 Thread Michael Bayer
On Feb 26, 2009, at 11:49 AM, a.fowler wrote: I don't know if the docs team reads this, but here are a couple of comments: I'm pretty much the documentation team :).but my time is very short these days, would you be interested in submitting a patch against the documentation source