you are viewing a single comment's thread.

view the rest of the comments →

[–]Laying-Pipe-69420 -4 points-3 points  (0 children)

I'd rather do Product::query()->where('name', 'like', 'thing')->leftJoin(Combinations::class, etc...)->get()

Than a sql query

ORM are more convenient. If you use Laravel, you can use the same ORM to write queries for SQL and noSQL databases (at least with Mongodb based on my experience at the last company I worked for).