I want to find record of particular table whose particular field is modified yesterday and also find current value of field and old value.
For example, I have company
table with fields id
, name
and address
. I want to track name
field and find current value and old value if it is modified. I will run this at end of the day.
In web2py, If we edit record then two rows are created in archive table, first one contains old data and second one is current record. Can I assume that old row and current record row are always back to back? or There can be row between them? did web2py uses locks while writing into archive table? Please explain how archive entries are created.
Please help!