Hello guys! I want to exclude some IDs from query result using whereNotIn() method. It's not a probl...
Hi All, Hope everyone doing well... The orderBy is being ignored and has no affect whatsoever $a = B...
I originally coded my application completely omitting models and just using raw queries in my own ty...
I am currently storing files in my mysql table. I have no problem saving large files in the table as...
Hi. Using this structure: http://stackoverflow.com/questions/20801859/laravel-eloquent-filter-by-col...
I have two models, Video and File. A video may have multiple files. When I delete a file from the d...
I read some posts about database seeding. I find the seeder's 'run' method begin with DB::table()-&g...
Hi there, I have a many-to-many setup, and I'm only receiving one record when I grab the relationshi...
$student = Student::find(20); foreach($student->classes as $student_class) { if($student_c...
Hi folks, i try to use an accessor in my models. The column in the database is called 'status'. My a...
i've been trying to figure this out all weekend long and i can't seem to find the answer. my client...
Hi, I am having trouble to insert record in DB, here is my code $member = new User; $member->user...
Hi, can someone explain me why I have this error if my model is: <?php class LocationsTipo exten...
I would really like to do something like this: $this->form->fields()->attach('email'); $thi...
I reckon that using Postgres with Laravel produces weird results with nulls. Check out the error mes...
I have a view that show the registered users data from database. I need to have a button that create...
Hello, I need help! I generated new resource called procedures and in routes.php I added Route::reso...
$comentario = new Comentario; $comentario->autor = Input::get('no...
Hello! I am having some trouble to dynamically update records on my database. I need to synchronize...
Solutions given in the past year. Excluding solutions from thread authors.
Select a tag below to filter the results
The Laravel portal for problem solving, knowledge sharing and community building.
The community