Here's my query - User::join(CallRequestRating::select('userid', DB::raw('avg(rating) AS ratingavera...
HI all REally appreciate some help with this one if any one has time. I need to remove the white spa...
Hi, I'm working with PostgreSQL, and there is more than one schema on our database: mysystem - cont...
I am trying to Join multiple tables and get results I have now 2 tables 1- projects_info (id - pro_t...
I'm working on a website for a soccerteam where I dynamically generate the ranking by getting all th...
Hello, I am please inquire. With Laravel 5.1, I would get my list of categories, and count the numbe...
Please i need some help in my application. I am using Laravel 4.2 and MySQL database. I am trying to...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Task extends Model { p...
Good day, I'm new to laravel and have been attempting to figure out how on earth to do a multi-way r...
I unfortunately need to import data from a third-party vendor and use their non-standard database sc...
i have this code in my controller // 1 $header = DB::table('rekap_cmd')->select('date','uni...
I wanna make a query like this. public function find(Request $request){ $dato=$request->buscarD...
I am making POST request: http://localhost:8081/myserver/server.php/api/v1/contracts/1 with body {...
I want to do something like that, but laravels error says Unknown column 'assignable_table.assignabl...
Hi, When i have a product model and a category model, i want them to touch both ways, but im getting...
Hi, Standard of eloquent is to set the touch in the model to update the updated_at timestamp. But yo...
I have a searchbox users can use to search fields using the following query. (I've not copied in the...
I was wondering why the Eloquent properties $perPage and $table aren't static properties. It doesn't...
https://laravel.com/docs/4.2/eloquent#basic-usage says: To get started, create an Eloquent model. Mo...
When i acces main?company_id in url of my site, i must do decrement -1 for row user , i try this : $...
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