Re: [sqlite] Example of implementing undo/redo using sqlite3?

2011-08-04 Thread Stephan Beal
On Thu, Aug 4, 2011 at 9:44 PM, Alexey Pechnikov wrote: > > http://sqlite.mobigroup.ru/artifact/265e408b4352d66cfc79a9990cb2c22fb390d3b6 > > http://sqlite.mobigroup.ru/artifact/2250bbbc83f80eff73ce003ab7a30293c688ae9b That is one of the coolest things i've seen months

Re: [sqlite] Example of implementing undo/redo using sqlite3?

2011-08-04 Thread Alexey Pechnikov
2011/8/4 Stephan Beal : > i'm wondering if anyone can point me to an example of implementing such a > beast? http://sqlite.mobigroup.ru/artifact/265e408b4352d66cfc79a9990cb2c22fb390d3b6 http://sqlite.mobigroup.ru/artifact/2250bbbc83f80eff73ce003ab7a30293c688ae9b P.S. Many

Re: [sqlite] Example of implementing undo/redo using sqlite3?

2011-08-04 Thread Eduardo Morras
At 19:58 04/08/2011, Stephan Beal wrote: >Hi, all! > >http://www.sqlite.org/whentouse.html > >says: > >"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

Re: [sqlite] Example of implementing undo/redo using sqlite3?

2011-08-04 Thread Richard Hipp
On Thu, Aug 4, 2011 at 1:58 PM, Stephan Beal wrote: > Hi, all! > > http://www.sqlite.org/whentouse.html > > says: > > "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 >

Re: [sqlite] Example of implementing undo/redo using sqlite3?

2011-08-04 Thread Stephan Beal
On Thu, Aug 4, 2011 at 8:13 PM, Dustin Sallings wrote: >https://github.com/dustin/kvtest/blob/master/sqlite-base.cc#L160 > The code is short and to the point. Thank you :). -- - stephan beal http://wanderinghorse.net/home/stephan/

Re: [sqlite] Example of implementing undo/redo using sqlite3?

2011-08-04 Thread Simon Slavin
On 4 Aug 2011, at 6:58pm, Stephan Beal wrote: > http://www.sqlite.org/whentouse.html > > says: > > "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

[sqlite] Example of implementing undo/redo using sqlite3?

2011-08-04 Thread Stephan Beal
Hi, all! http://www.sqlite.org/whentouse.html says: "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