Difference between revisions of "SET TIMELINE"

From Lianjapedia
Jump to: navigation, search
m (1 revision)
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
 
Enable database timelines for row versioning
 
Enable database timelines for row versioning
 
  
 
==Syntax==
 
==Syntax==
 
SET TIMELINE ON | OFF
 
SET TIMELINE ON | OFF
 
  
 
==See Also==
 
==See Also==
[[CLEAR TIMELINE]], [[LIST TIMELINE]], [[ROLLBACK TIMELINE]], [[SET TIMESTAMP]], [[SYSTIMELINE]], [[UNWATCH()]], [[WATCH()]], [[WATCHCHANGED()]], [[WATCHING()]], [[WATCHRESET()]]
+
[[CLEAR TIMELINE]], [[LIST TIMELINE]], [[ROLLBACK TIMELINE]], [[SET TIMESTAMP]], [[SYSTIMELINE]], [[TIMELINE()]]
 
+
  
 
==Description==
 
==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.
+
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.  SET TIMELINE is OFF by default.
  
  
 
==Example==
 
==Example==
<pre>
+
<code lang="recital">
**********************
+
* File    : config.db
+
*
+
* ...
+
 
set timeline on
 
set timeline on
*...
+
</code>
*
+
</pre>
+
 
+
  
==Products==
 
Recital, Recital Server
 
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Set Commands|TIMELINE]]
 
[[Category:Set Commands|TIMELINE]]
[[Category:Database Timelines]]
+
[[Category:Databases]]

Revision as of 06:16, 7 December 2012

Purpose

Enable database timelines for row versioning

Syntax

SET TIMELINE ON | OFF

See Also

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

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. SET TIMELINE is OFF by default.


Example

set timeline on