I'm japanese student and new to Laravel. I used the Eloquent's local scope like this: use Illuminate...
Hello, I'm trying to do this (Laravel 4.2) : In database.php 'default' => '', In a function $mod...
At first, my model code may be clear, but later, more and more model associations, more and more eve...
Hey Guys, I am just trying to understand the depth of the has many through relationship as well as i...
Hello there, I'm just wondering a thing... I would like to eager load relationships through a polymo...
How do I upload two separate image files to different file locations and save to database? Everythin...
$this->belongsTo('\App\Models\Thing','foreign_key', 'other_key'); Can anyone please explain this...
I have 3 tables: users, category and profile tables. The profile table has user_id and category_id a...
I'm new to Laravel. I am trying to understand if I create a model called Cat, and the cat has a prop...
Hi, Using Laravel 5.5 I am trying to design an incident management system which has bespoke requirem...
Hi, When using sync() a query like this is generated: update `course_group_course` set `year` = ? wh...
Hello , I have a question . I want to search Tags ( Many to Many ) in My post , JUST if I select tho...
i use laravel and my db is sql server . when use with method on eloquent , it make a query has where...
Hello! There is some problem with ordering eloquent query results by field from related table. Every...
Hello Everyone, I have a requirement of retrieving 5 million records from MySQL database and compari...
Hello, i am plugging away at my app and i am required to have team owners to be able to edit / updat...
Here's what my very simple model looks like: <?php namespace App; use Illuminate\Database\Eloqu...
Есть таблица produkts. У этой таблицы есть связи "многие ко многим" с 3 другими таблицами...
I created this method : public function vcListAndSegmentCount() { $valuechainLists = Valuechain::sel...
I'm going insane. I have a query that needs to use a join and eager loading. The join needs to occur...
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