You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a very cool project; I definitely would have used it in place of custom solutions in previous projects. However, a requirement for those projects was to use WATCH with MULTI to create transactions to avoid race conditions. Is that something that is or will be supported as part of the ORM? I could imagine an API where you do something like Model::get_for_update, which starts watching all of the required fields and uses MULTI when calling .save()
To be clear, I don't have an immediate need for this now, it's just something that was a pain to implement by hand in the past 😁
The text was updated successfully, but these errors were encountered:
This is a very cool project; I definitely would have used it in place of custom solutions in previous projects. However, a requirement for those projects was to use
WATCH
withMULTI
to create transactions to avoid race conditions. Is that something that is or will be supported as part of the ORM? I could imagine an API where you do something likeModel::get_for_update
, which starts watching all of the required fields and usesMULTI
when calling.save()
To be clear, I don't have an immediate need for this now, it's just something that was a pain to implement by hand in the past 😁
The text was updated successfully, but these errors were encountered: