Support the ongoing development of Laravel.io →

jasecara

Joined 10 Mar 2014

Statistics

Threads 2
Replies 3
Solutions 1
Articles 0

Can you use sum() or something like it in a whereHas() statement?

I have a model called 'Charges' which stores charges made by someone. I want to sum all the charges...

Likes Replies
Solved

Filtering Results in RestAPI with attributes from a related model

I'm currently building a REST API with laravel. I'm trying to implement filtering of results on a ro...

Likes Replies
Solved
replied 8 years ago
0 Likes
replied 8 years ago

Can you use sum() or something like it in a whereHas() statement?

I figured it out. I had to use a raw query, but it works: $people = $people->whereHas('ch...

0 Likes
Solved
replied 8 years ago

typeahead.js and Laravel

It took me a while to get it working, your right, there's not allot of info on the new 0.10 version....

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.

© 2022 Laravel.io - All rights reserved.