> On 23 Sep 2015, at 20:37, Sebastian M Cheung <minsche...@googlemail.com> 
> wrote:
> 
> posts = User.query.all()
> row = posts.select().execute().fetchone()
> print row[-1]
> return row.activation_code
> 
> doesnt work

Why are you doing this? Instead of, for example:

posts = session.query(User).order_by(User.id.desc()).first()
print posts.activation_code

-- 
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 sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to