Just query your DB using ORM then cache it. Create a service and use raw query if you deal with complex problem. Write the documentation why yo do this so next developer also understand.
ORM just a layer of abstraction so you can access your data in OOP way. It just a tool and use it in right situation 🤷♂️.
Some comments have been hidden by the post's author - find out more
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Just query your DB using ORM then cache it. Create a service and use raw query if you deal with complex problem. Write the documentation why yo do this so next developer also understand.
ORM just a layer of abstraction so you can access your data in OOP way. It just a tool and use it in right situation 🤷♂️.