Oleg Broytmann wrote: > On Thu, Dec 28, 2006 at 01:39:17PM -0500, David Turner wrote: > >> +class MyClass(SQLObject): >> + name = StringCol() >> + versions = Versioning() >> > > So, a version is a special attribute that catches updates and stores > older values in a special additional table? > > Oleg. > Yes. The additional table is automatically generated. Then you can restore from an old version if you like.
I should probably also have a method which returns a dict of only items that have changed between this version and a specified version (by default, the current version). ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ sqlobject-discuss mailing list sqlobject-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss