Ash.Resource.Change.GetAndLockForUpdate (ash v3.37.2)

Copy Markdown View Source

Refetches the record being updated or destroyed, and locks it for update.

Equivalent to Ash.Resource.Change.GetAndLock with lock: :for_update.