I'm trying to convert an SQL Query to a relationship in Eloquent, and having great difficulty. This...
This works when entering data to database in the form: <tr> <td>{{_('Longitude')}}&...
=> Illuminate\Database\Eloquent\Collection {#4087...
Hi all, I’ve recently been playing around with Larvel and building a sample project to try and wrap...
I have a many to many relation between User and Task. The pivot table acts as an "Inbox" v...
Since I made the Laravel 7.30 .4 update, when I make an eloquent BelongsToMany request, the results...
Simple question: which is the best table name (to use with eloquent) for a counter between authors a...
We had question for everyone who is using Laravel. What you think about using Google Firebase's Clou...
Is there a way to cast a json column key? For example I have a payload json column and the payload h...
I have this $NUMBER = 496354; // vagprice::where('NUMBER', $NUMBER)->get(); // no results vag...
Dear Sir, I have some weird about binding parameter using DB::select(DB::raw()). I had tried to use...
Bom dia meus caros Dev's. Em um projeto do dia-a-dia me deparei com a necessidade de buscar os dados...
Good morning everyone, i have a small problem with the "whereYear" query. In the backend t...
Invoices Model: public function items(){ return $this->hasMany('\App\InvoiceItems','invoice_id','...
hi there, i would like to collect some recommendations here. i am facing something very common, i gu...
Can someone please guide me on how I can write this below query in laravel by using eloquent ORM and...
Hello I am working on an application, I would have to save a photo ID but when I click on the save b...
VendorProduct belongsTo a single Vendor. To find or assign a Vendor to a VendorProduct, must the Ven...
Hello, i try to explain my Problem. I have 2 Tables in relationship shootingbooks and shootingranges...
Laravel Version: 6.0 PHP Version:7.4 Database Driver & Version: MySQL Description: Observers ret...
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