This is not a theoretical but a very actual and serious problem. Think about a bank account, you might be in a deadly embrace. Web2py is not a only user that access database. So the problem is not solved in web2py. If i were you, i would write a raw sql statement.
On 6月1日, 午前1:25, pbreit <pbreitenb...@gmail.com> wrote: > It's a theoretical problem, not an actual one. If you check room > availability before reserving the room, you'll be fine. If your service ever > gets enough traffic for it to become a problem (highly unlikely), you will > have the resources to address it. It's better to spend your energy trying to > get to that point.