I've got a query that I'm struggling to get executed in Laravel Here's the raw SQL query SELECT stre...
Hello I'm building a site that has a similar setup to twitter, here is my database structure: ##User...
Hi, i'm working on a simple application but i'm stuck at modeling the database, this is what i'm try...
I want to join multiple tables with default 'users' table in Sentry. I'm using Laravel framework. I...
hi how do you usually querying using eloquent from database based on the value, for example you will...
Hi, I have this route: Route::get('/develop/building/{building_id}', ['as' => 'develop.building',...
Hello, I'm using Baum nested sets to create parent - child categories and relate my categories with...
I have a problem that the docs don't seem to cover (or I'm just not seeing anything in the docs that...
Im having a bit of trouble to find the best and correct way to set up my Models relationships to fet...
I've got restful API set up in the /components/index/ route. Components have a belongsToMany relatio...
I'm trying to understand what Pessimistic Locking is. It's referenced in the documentation (http://l...
I have a general User model with general mass-assign white listing of fields as protected $fillable....
Hi I'm trying to manually set relations according to the configuration file. In my constructor for e...
Hi! I have a model named User, that has an one to many relationship with a model named City, that ha...
So I'm developing a REST API, with the following schema members id other field other field member_...
It's been two days debugging. is there a way to chain this properly ? I tried $post = Post::has('com...
Hello everyone. I have 3 Tables Posts id content Comments id commented_id (user_id) user_id User...
Greetings, I am returning a value from a variable in my controller but it yields different results w...
Hello guys, I am having some trouble filtering data through a relationship that i created... CLASS T...
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