Hi guys, I have a big problem with laravel eloquent model. When I create my application and i create...
I have a case where I have a Department and Users. A User belongsTo a Department. But a Department a...
Hi, When I create a new item, I always have the column 'link' empty in my table. The table's column...
I have a laravel chat app, is working fine and these are the relationships declared in the model. U...
Hi! How can i build a query eg: $products = Product::whereHas('tags', function($query) use($arrays)...
I'm trying to concat the results of a database query and return them as a variable that I can insert...
I have this in my routes.php at the moment, I assume this is not the best practice. Route::get('port...
Hi, I've managed to setup a a database connection (eloquent model) and to display data of one table...
I uploaded a laravel project I was working on to bitbucket and a friend downloaded it, but on his co...
For example, I have a many-to-many table with blogposts and tags, as per the tut here; http://vegibi...
Using belongsToMany custom accessor methods are ignored. Why?
I'm trying to figure out a way to elegantly generate a form when creating a new entry based off a mo...
Hi. I'm currently using Ruby on Rails stack and thinking to move to Laravel 4.2 because of extreme p...
I'm trying to delete an object model Studio which hasMany model Member and hasMany model Game and se...
Hello friends this is the situation: I am working with Eloquent and relationships and need to get a...
I'm not sure what title to give this thread. Imagine that the following eloquent query is build. $wo...
I have a simple filtering on my catalog. It allows me to choose the product based on its attributes...
Can anyone help me with building this query? I want this: SELECT COUNT(ad_want.id) AS wants,...
Hello all! I'm having a rather frustrating time with an error and can not seem to work it out. I h...
Retrieving records works correctly but updating items through save() does not do anything. It doesn'...
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