On Wednesday, September 12, 2012 12:35:41 PM UTC-4, Massimo Di Pierro wrote:
>
> Instead of this
>
> maxID=db(db.node).select(db.node.id.max()).first()['MAX(node.id)']
>
> I would do
>
> maxID=db(db.node).select(db.node.id.max()).first()[db.node.id.max()]
>

Well, that's what I really recommended: 
https://groups.google.com/d/msg/web2py/VY71mF2cl-4/oNE00OduXQ0J. :-)
 

-- 



Reply via email to