Versioned on class
Hans Karlsen (talk | contribs) No edit summary |
Hans Karlsen (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
When you set Versioned on a class we never use sql-command-update or delete for that class. Instead we use insert with TimeStampStart and TimeStampStop added as non-attribute-db-columns. | When you set Versioned on a class we never use sql-command-update or delete for that class. Instead we use insert with TimeStampStart and TimeStampStop added as non-attribute-db-columns. | ||
You can now track all the changes done on an object - and retrieve old versions of that object with operators like [[OCLOperators allInstancesAtTime|allInstancesAtTime]], [[OCLOperators atTime|atTime]] | You can now track all the changes done on an object - and retrieve old versions of that object with operators like [[OCLOperators allInstancesAtTime|allInstancesAtTime]], [[OCLOperators atTime|atTime]], [[OCLOperators objectTimeStamp|objectTimeStamp]] |
Revision as of 10:31, 20 February 2022
When you set Versioned on a class we never use sql-command-update or delete for that class. Instead we use insert with TimeStampStart and TimeStampStop added as non-attribute-db-columns.
You can now track all the changes done on an object - and retrieve old versions of that object with operators like allInstancesAtTime, atTime, objectTimeStamp
This page was edited more than 1 years ago on 01/11/2024. What links here