On Mar 7, 7:06 pm, pbreit <pbreitenb...@gmail.com> wrote:
> Are these three equivalent?
>

these two are equivalent:

db(db.mytable.id==id).select().first()
db.mytable(id)

This is equivalent

db.mytable[id]

only if the id exists. The former two return None if id does not
exist, the third raises an exception.



Reply via email to