def __rollback(table): "Restores table from copy and deletes the copy." table.update(data=table.first('copy'), copy=object()) ########################################################################