According to the book, for what I understand

record = db(db.owner.name=='test').select(db.owner.id).first()
could be shortcut with
record = db.owner(id, name='test')

But the latter return None. How can I shortcut the first statement
properly?

Thank you so very much.

Reply via email to