Skip to content
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

Adding or_where() passthrough on Models #437

Closed
1 task
alanaphayarath opened this issue Apr 5, 2021 · 0 comments
Closed
1 task

Adding or_where() passthrough on Models #437

alanaphayarath opened this issue Apr 5, 2021 · 0 comments
Labels
enhancement A feature that exists, works as intended but needs to be improved

Comments

@alanaphayarath
Copy link

alanaphayarath commented Apr 5, 2021

Describe the feature as you'd like to see it
Was wondering if the QueryBuilder or_where method could be added as a passthrough for Models. I was using it with Orator ORM, but it's no longer working with MasoniteORM.

What do we currently have to do now?
I believe adding or_where to the passthrough list that start at line 116 of the file at src/masoniteorm/models/Model.py should resolve the issue.

  • Is this a breaking change?
@alanaphayarath alanaphayarath added the enhancement A feature that exists, works as intended but needs to be improved label Apr 5, 2021
@Marlysson Marlysson mentioned this issue Apr 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A feature that exists, works as intended but needs to be improved
Projects
None yet
Development

No branches or pull requests

2 participants