1.6 CQL Special Attributes
The following attributes are automatically provided i.e if the attribute is present in the table, CQL will automatically fill in the value:
- generation_ Set to 0 on INSERT and incremented by 1 on each update
- inserted_ Set to the current time at the time of the INSERT transaction
- inserted_by_ Set to the user ID corresponding to the access token supplied to the transaction
- updated_ Set to the current time at the time of the UPDATE transaction. Note that updated_ is also set by an INSERT
- updated_by_ Set to the user ID corresponding to the access token supplied to the transaction. Note that updated_by_ is also set by an INSERT
- transaction_id_ Set to the transaction ID
All the special attributes can be overridden by supplying the attribute-value pair explicitly.