Difference between revisions of "SET TIMELINE"

From Lianjapedia
Jump to: navigation, search
(Description)
(Description)
Line 11: Line 11:
 
Database timelines provide row versioning for Lianja 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.  SET TIMELINE is OFF by default.
 
Database timelines provide row versioning for Lianja 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.  SET TIMELINE is OFF by default.
  
Timelines can also be enabled for a specific database in its metadata.  In the [[MetaData_Editor#Database_MetaData|MetaData Editor]] enter the Attribute '''timeline''' and the Value '''on'''.
+
Timelines can also be enabled for a specific database in its metadata.  In the [[MetaData_Editor#Database_MetaData|MetaData Editor]] specify the Attribute as ''timeline'' and the Value as ''on''.
  
 
==Example==
 
==Example==

Revision as of 07:07, 26 March 2020

Purpose

Enable database timelines for row versioning

Syntax

SET TIMELINE ON | OFF

See Also

CLEAR TIMELINE, LIST TIMELINE, ROLLBACK TIMELINE, SET SYSTIMELINE, SET TIMESTAMP, SYSTIMELINE, TIMELINE()

Description

Database timelines provide row versioning for Lianja 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. SET TIMELINE is OFF by default.

Timelines can also be enabled for a specific database in its metadata. In the MetaData Editor specify the Attribute as timeline and the Value as on.

Example

set timeline on