Hello, I have my user model referencing a table with a UserID as the PK. The same table has another...
Hi all, I want to perform this complex request in Laravel 4.2 : SELECT i.serial, z.name, count(im.da...
I have three tables: 1. Users Table field: user_id 2. Likes Table field: item_id...
Hi guys, I'm having difficulties working with the query builder syntax. I'm trying to convert this...
I have posted in stackoverflow a question, however I did not get any answer. http://stackoverflow.co...
I am new with Laravel, I was able to query Many-to-Many relationships. Where 'template_dynamic' is t...
Hi friends, I try to make a modular Laravel application. I use "https://github.com/bstrahija/la...
Illuminate \ Database \ QueryException SQLSTATE[42S22]: Column not found: 1054 Unknown column 'suppl...
Hi, Is there any ability to perform a custom query on my model's initialisation? The reason is, i wa...
How can I do the following using eloquent? INSERT INTO table (column) VALUES (select max(id) from ta...
Hi, I have an array with objects called $buildings It has 5 buildings, each with a relation to a &q...
I have a typical event hook for soft deleting children: public static function boot() { parent::boo...
#Dear people and cats. Do anyone have a smart idea of how to design a user table with different user...
Hi, I have these three models: Building (table: buildings) Object (table: objects) BuildingType (tab...
quyle92 liked this thread
Hey guys, Something very weird has happened in an application that I am building today. All of a sud...
Hi, I have 3 controllers that basically List/Create/Edit/Remove things in database (Products, Carts,...
I will try to briefly explain this problem I'm having. I have a database field called "price&qu...
I am posting arrays of related field ids using the product id as the key, to my controller: $input...
Hi guys, This question might be more of a generic database design question, but I'm using it for a L...
Hi every body. I have a directory under my app folder named observers and I listen for various event...
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