or

max_id = db(db.Node).select(db.Node.id, orderby=~db.Node.id,
limitby=(0,1)).first().id

-- 



Reply via email to