Hello, I need to ensure that when I update a record in a table, it must comply with these requirements: 1. Begin transaction - don't allow anyone else to write to that record/row. 2. Write and commit the updated record. 3. End transaction, allowing everyone to write to that record/row. 4. There can only be 1 transaction per record/row at the same time. 5. If anyone tries to write while a transaction is in place either receives an error or some kind of message that identifies that the record is being updated.
Does anyone know if web2py/DAL allow me to do/have this? I'm using SQLite and apparently it only does database lock (not record/row or even table). But I willing to accept that if I can follow the requirements above replacing record/row lock with database lock. Another option is to change the db backend to MySQL or PostgreSQL if only they would comply with the requirements above. Thanks, JM -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

