Hello, I need to copy a parent model and its children and its children's children. I don't want to d...
I am using the WYSIWYG editor Summernote but this seems to be an issue with any editor: Let's say I...
$owner = Owner::with('cars.carParts')->where('id', "=", $ownerID)->first(); $owner-...
An Owner has many Cars... And in my blade page I have this... {{{$car->Owner->name}}} And tha...
Something was causing multiple calls to the User table. I found the solution on some blog that reco...
jarektkaczyk, Thank you for the code. I got it to work by changing the $parentKeyName line otherwise...
I'm still slowly working through this. Current error is: SQLSTATE[42000]: Syntax error or access vi...
I use DebugBar to monitor the SQL queries and just discovered that saveMany() does a separate INSERT...
My code above worked just by fixing my $parts_array variable just like as jlaswell recommended. All...
I'm still stuck on this. This is what I have so far. I get the car and then... $car_copy = $car-&g...
The Laravel portal for problem solving, knowledge sharing and community building.
The community