I am trying to create an application that would store lots of meta data for a user and the same meta...
I'm having a bunch of trouble with model scopes. I have one scope that works properly, called direct...
How do I translate this to eloquent or query builder? DELETE p1 FROM products p1, products p2 WHERE...
Hello Does any body have any code to batch process 200k+ records are calls and i am post processing...
I have a many to many relationship setup like this: Product Model: public function skus() { return...
ostap liked this thread
http://laravel.io/bin/mNVV
Does the first line go to the database and wait for a response and then move on? Or are these combin...
I'm currently working on a browser game built with Laravel to get into laravel more. I'm currently r...
Hi, How can I convert this Query Builder Statement in Eloquent? return \DB::table('province')->jo...
I have a model where I always want the results to orderBy a certain way. Is there a way to enforce...
Hey fellow Laravel friends, I'm trying to build status updates like Facebook. But my question is how...
Hi guys, I'm new to laravel. This is a great framework. I'm ran into an issue that I don't know how...
#I want to know how to copy existing table through PHP script.. I am new to Laravel. I am trying to...
'SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected' after returning from Laravel pass...
I have a shopping cart ID that I'd like to save somewhere to pick up the cart later when the user co...
So I have a table on my database, with an eloquent class allowing me to access it. So far everything...
I have a simple query like this: $userIdLists = Users::whereIn('id', $idList)->select(array('id')...
Long story short. I created a migration named "create_music_table" which have following fi...
I am writing an app that administers tests to students. I have a model that represents a prototype o...
$orders = DB::table('orders') ->join('order_item', function($join) { $join->on('orders.id', '=...
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