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

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.