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

Closure observers #652

Open
LordDeveloper opened this issue May 6, 2022 · 0 comments
Open

Closure observers #652

LordDeveloper opened this issue May 6, 2022 · 0 comments
Labels
easy These issues are geared for people who have not yet contributed to this project yet enhancement A feature that exists, works as intended but needs to be improved

Comments

@LordDeveloper
Copy link
Contributor

Hi, please add closure observer feature in masonite-orm:)
https://laravel.com/docs/9.x/eloquent#events-using-closures

def boot(self):
        self.creating(lambda m: print(m.serialize())

And in_random_order method for randomize query result:
https://laravel.com/docs/9.x/queries#random-ordering

Thanks a lot.

@LordDeveloper LordDeveloper added the enhancement A feature that exists, works as intended but needs to be improved label May 6, 2022
@josephmancuso josephmancuso added the easy These issues are geared for people who have not yet contributed to this project yet label May 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
easy These issues are geared for people who have not yet contributed to this project yet enhancement A feature that exists, works as intended but needs to be improved
Projects
None yet
Development

No branches or pull requests

2 participants