it is not implemented because I cannot see one size fits all. Often 
reverting is not as easy as reverting a single record.

On Tuesday, 14 November 2017 13:02:46 UTC-6, Pengfei Yu wrote:
>
> Hi,
>
> I am using "auth.enable_record_versioning" to track the version of each 
> record's update for my database tables. It works great now to keep 
> different previous versions of a record in the "*_archive" tables. For my 
> application, I also need features to allow some users to revert one record 
> back to one of the previous versions. I am wondering whether it is already 
> implemented as a function for versioning-enabled records.
> Such as:
>     db[table1][id1].revert[id_archive]
>
> Here "db[table1][id1]" is one record in "table1" with id as "id1". And 
> "id_archive" is the id of the previous record in the "*_archive" table I 
> want to revert back to. 
>
> Thank you!
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to