On Aug 4, 2011, at 10:58 AM, Stephan Beal wrote:

> "Temporary triggers can be added to the database to record all changes into
> a (temporary) undo/redo log table. These changes can then be played back
> when the user presses the Undo and Redo buttons. Using this technique, an
> unlimited depth undo/redo implementation can be written in surprisingly
> little code."
> 
> i'm wondering if anyone can point me to an example of implementing such a
> beast?


        I used regular triggers to create an undoable database in some of my 
early k/v store testing work:

        https://github.com/dustin/kvtest/blob/master/sqlite-base.cc#L160

-- 
dustin sallings



_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to