I get the message "depth too great" when querying a couple of relations. These are my mode...
I need to have some validation rules based on configuration files (those at app/config), so the rule...
As I have asked a few times before, I'm developing a website/CMS to a game server for which I can no...
Hi, I have a pivot table that links users to products. The table has timestamps that are updated wh...
Hi Laravel Community, As one of your newest members I'm curious if there's common conventions here a...
I was looking at the code in the delete method of the Model object in Model.php. The code eventually...
I have a model where current_order_workflow_step is optional order_workflow_step is basially a join...
Hi, I want to do something like this: $channel = Channel::select(array( "id", "channe...
select * from `posts` where (select count(*) from `categories` inner join `post_categories` on `cate...
Hi, Let's say a User belongsTo a Language, and to make it simple here's the controller (no repo) : $...
hi, is there any method to do a multiple queries. From what I want is around like this in mysql quer...
I have a controller with a method for when the user wants to soft-delete his record (Character model...
I notice that laravel use 0000-00-00 00:00:00 for deleted_at time ,So i change data deleted_at like...
So I'm trying to do a very simple eloquent query, however both a select and an insert query fail. Th...
Hello, there. I have a table of users, and when you click on a Details button for a particular user...
Hi all, My question here is pretty simple but I didn't find the answer on the Web. I would like to s...
Hi I have two models - node and content. Content belongsTo 'node' and Node hasMany 'content' - all p...
Hi everyone, I'm new to Laravel and trying to catch up with a project as much as possible. I created...
Hi i have controller and i am taking data like this $events= Eventm::with('teacher')->get(); th...
When inserting batch data how would you get a array of primary key ids from the inserted data $data...
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