Vasile Ermicioi Mon, 18 Jun 2012 01:59:55 -0700
or max_id = db(db.Node).select(db.Node.id, orderby=~db.Node.id, limitby=(0,1)).first().id
--