SET TIMELINE

From Recital Documentation Wiki
Jump to: navigation, search

Purpose

Enable database timelines for row versioning


Syntax

SET TIMELINE ON | OFF


See Also

CLEAR TIMELINE, LIST TIMELINE, ROLLBACK TIMELINE, SET TIMESTAMP, SYSTIMELINE, UNWATCH(), WATCH(), WATCHCHANGED(), WATCHING(), WATCHRESET()


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
*...
*


Products

Recital, Recital Server