Lock a table, blocking other transactions from obtaining certain kinds of locks, depending on the selected mode. The table is unlocked when the transaction is committed. To manually control when the lock is released, create a db::ObjectLock for table_id instead.
|