Hello All, So I have some weirdness happening. I'm trying to do a search on a track database that I...
I need to execute a query with group by. But the group by is not for a field. I need to group by wit...
I have 4 tables TableA hasMany TableC TableB hasMany TableC TableC hasMany TableD I want to connect...
Hi ! I read that L3 didn't support composite primary key, is it the same for L4.1 ? In my case it's...
Hi, Given this simple database setup: posts - id tags - id post_tag - id - post_id - tag_id ......
In relationship from the questions I have ask previously, Question 1: Inserting selected fields from...
I would like to have the following models: Employee, Agent, Client. Since half of all the fields and...
good morning, someone who can help me, I need to create a route between father son model to model, l...
Hi there, This was a different thread, but incorrectly titled. Anyway, here's the problem: On our d...
Hi, I am new to laravel and this is pretty basic problem (I think) but for some reason I can't get m...
Hi, is there any way to add custom methods to eloquent models? e.g.: class User extends Eloquent {...
I am struggling to understand how laravel works and I have a very difficult time with it Model - Use...
Hi again. I have 3 tabs in a page. I have 3 queries and thus get the results and make 3 different pa...
Hi there, I have a site which needs to go live today, and there is a problem with Eloquent, and the...
Hello, one of the requirements on the application I am developing is to have it to use an arbitrary...
I have a table with a row 'comments'. This is 'opmerkingen' in dutch. Every row can contain 1 commen...
Hi, I've been looking for examples for a while and found out that the docs are lacking about this. H...
DB::table('users') ->join('contacts', function($join) { $join->on('users.id', '=', 'contacts.u...
I have two models with relationship: City and Events. In the controller i have this: $cities = City:...
Hi there, I would like to insert a post and its images with laravels ORM. Posts title tekst Images...
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