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


Ignore:
Timestamp:
09/19/2018 05:49:59 AM (2 years ago)
Author:
Jure Erznožnik
Comment:

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