Methods
- L
- Q
- R
- S
- U
Constants
DEFAULT_LOCKING_COLUMN | = | 'lock_version' |
Instance Public methods
The version column used for optimistic locking. Defaults to lock_version.
Returns true if the lock_optimistically flag is set to true (which it is, by default) and the table includes the locking_column column (defaults to lock_version).
Quote the column name used for optimistic locking.
Reset the column used for optimistic locking back to the lock_version default.
Set the column to use for optimistic locking. Defaults to lock_version.
Make sure the lock version column gets updated when counters are updated.