Back

Editing, Updating and Creating Records
versionLockCol
Name of integer column used to implement versioning, so that optimistic locking can be used To implement locking, we store a version number for each record. Before updating, we check to see if the version number has changed (by someone else). If it has, we abort the save. Otherwise we increment the version number and save. If this column is not defined, or not in the columns retrieved by the SQL statement, this property is ignored. Syntax `$lens->versionLockCol = 'versioncol';` Basic:No Advanced/Enterprise:Yes DynamicEdit:No [Version 1.1]