Support the ongoing development of Laravel.io →
netm

netm

Joined 2 Apr 2014

Statistics

Threads 13
Replies 7
Solutions 1
Articles 0
posted 11 years ago

DB::Raw question

Ok, This works well $total_sales = OrderLine::where('product_id', '=', $product->id)->sum('qua...

0 Likes
2 Replies
posted 11 years ago

Model Question

This is probably very simple, in Laravel anyway :-) I have a table of products that I access a produ...

0 Likes
2 Replies
posted 11 years ago

Selecting all records created last month with Eloquent

Hi there, Just trying my hand at selecting records by date range, it looks like this should work but...

0 Likes
7 Replies
Solved
replied 2 years ago

Anyone else out there having trouble with the Amazon SDK?

So it turned out that when I installed AWS-SDK_PHP with 'composer install AWS-SDK_PHP' it picked a 2...

1 Likes
Solved
replied 10 years ago

Laravel 4.2 Model not being loaded

I'm putting this down a lack of coffee. I think it was my hard drive hitting full and effecting the...

0 Likes
replied 11 years ago

Sum of two columns multiplied in Eloquent

If anybody is interested in future I solved it like this... $sales = DB::table('order_lines')...

0 Likes
replied 11 years ago

DB::Raw question

Thanks! Is there a way to just return the sum? This seems to do that and not a collection (but I can...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2026 Laravel.io - All rights reserved.