New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
automic expressions supporting #455
Comments
@erhuabushuo Can you provide an example about this expressions? https://orm.masoniteproject.com/installation#transactions Let me know wheter it' what you're finding? |
like sqlachemy:
|
|
For the first case you can do this by using
https://orm.masoniteproject.com/query-builder#increment For the second one, we have this way to do this, by using raw expression to perform operation: Let'me know if these way is useful for your problem. |
Should just be as simple as adding Orator had this: https://orator-orm.com/docs/0.9/query_builder.html#pessimistic-locking MySQL reference: https://medium.com/@ibraheemabukaff/locking-rows-in-mysql-e84fd3bbb8cd Postgres reference: |
raw expression is useful for me, does then model instance fetch the latest value when updated by using raw expression |
Masonite ORM currently does not have automic expressions
The text was updated successfully, but these errors were encountered: