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

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.