Difference between revisions of "SET TIMELINE"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | + | ==Purpose== | |
+ | Enable database timelines for row versioning | ||
+ | |||
+ | |||
+ | ==Syntax== | ||
+ | SET TIMEOUT ON | OFF | ||
Line 5: | Line 10: | ||
[[CLEAR TIMELINE]], [[LIST TIMELINE]], [[SET TIMESTAMP]], [[SYSTIMELINE]] | [[CLEAR TIMELINE]], [[LIST TIMELINE]], [[SET TIMESTAMP]], [[SYSTIMELINE]] | ||
+ | |||
+ | ==Description== | ||
+ | Database timelines provide row versioning for Recital database applications. Whenever a change is made to a table that is timeline enabled, delta changes are automatically recorded for each transaction. Changes made to any tables that are timeline enabled can be undone much like you would undo changes to program code that you edit in a text editor. To enable database timelines simply issue the SET TIMELINE ON command in your Recital configuration file. SET TIMELINE is OFF by default. | ||
+ | |||
+ | |||
+ | ==Example== | ||
+ | <code lang="recital"> | ||
+ | ********************** | ||
+ | * File : config.db | ||
+ | * | ||
+ | * ... | ||
+ | set timeline on | ||
+ | *... | ||
+ | * | ||
+ | </code> | ||
Revision as of 10:39, 17 November 2009
Purpose
Enable database timelines for row versioning
Syntax
SET TIMEOUT ON | OFF
See Also
CLEAR TIMELINE, LIST TIMELINE, SET TIMESTAMP, SYSTIMELINE
Description
Database timelines provide row versioning for Recital database applications. Whenever a change is made to a table that is timeline enabled, delta changes are automatically recorded for each transaction. Changes made to any tables that are timeline enabled can be undone much like you would undo changes to program code that you edit in a text editor. To enable database timelines simply issue the SET TIMELINE ON command in your Recital configuration file. SET TIMELINE is OFF by default.
Example
********************** * File : config.db * * ... set timeline on *... * File : config.db * * ... set timeline on *... * * ... set timeline on *... * ... set timeline on *... *... * *
Products
Recital, Recital Server