Changes between Initial Version and Version 1 of Ticket #28344, comment 13


Ignore:
Timestamp:
Sep 19, 2018, 5:49:59 AM (6 years ago)
Author:
Jure Erznožnik

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28344, comment 13

    initial v1  
    99}}}
    1010
    11 However, this one implies both a transaction and an auto-save to me. So my proposal would be to "decorate" the `lock_for_update()` with two parameters:
     11However, this one implies both a transaction and an auto-save to me. So my proposal would be to "decorate" the `lock_for_update()` with three parameters:
    1212
    1313* `atomic: bool=True`
    1414* `auto-save: bool=True`
     15* `refresh_from_db: bool=True`
    1516
    1617Would this be an acceptable solution?
Back to Top