Happy flow detected on query builder on delete function #54594
Unanswered
macropay-solutions
asked this question in
Q&A
Replies: 1 comment
-
Wow, this was there in some shape or form since the very first commit: de69bb2 Impressive ^^ Yeah, only Eloquent's query builder can access this information from the model. The database query builder would have to do this via an extra query via the schema, which would not be ideal. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
On this line
framework/src/Illuminate/Database/Query/Builder.php
Line 4019 in 966a22a
someone thought that his happy flow will suit all and this overhead should be included in laravel.
Of course this will not work if the table does not have an id column (maybe also when the table is aliased).
We had to extend this function and the solution we implemented was this:
Beta Was this translation helpful? Give feedback.
All reactions