Hello Community, Here is my model query : return $this->where('mac_address', $id) ->join($thi...
Please forgive any ignorance on my part. Has anyone devised of a more reliable way (in my mind) to...
I would like to call php artisan command from route or controller, i do like this (test on backup/re...
Hello to every one. I am trying to display the entries which are stored within one hour, How to get...
I get following error: Illuminate \ Database \ QueryException (42S02) SQLSTATE[42S02]: Base table o...
Ok so in many cases you want to update integers in a database incrementally, this helps ensure that...
I am pretty new to Laravel as well as frameworks in general, as such I am still getting use to the w...
I have a serious problem. I have 3 models Role Model: <?php class Role extends Eloquent{ /** *...
Hi, I'm new here so please don't bite. My question is I use MAMP for development (I know I need to m...
I started one small project and wanted to have fun, so i created dynamic migration, that gets inform...
Lets say we have some tables and I need to make a join query for half of the requests to table A. Is...
Hello, I have two columns I want to match with a model's id. I could call hasOne two times but then...
I'm following the docs to create the ORM relationships at http://laravel.com/docs/eloquent#relations...
Hello, what's the best and convenient way to import data from old website to a new one using laravel...
#####I have following sql: set @balance = 0; select receipt_no, particular, @balance := @balance + (...
Assuming I have the next database structure: And I want to do the complex eloquent query - gather a...
I would like to generate Sql like SELECT * FROM invoice WHERE invoice.id NOT IN (SELECT invoice_id F...
I've just started a new community project at http://eloquentbyexample.com/ My aim for this is to bui...
Hi there best colleagues i've the following strange issue when i want to store data in my database b...
Hi, How do I set it up so that my Listings belong to both to the user who creates it, and a specific...
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