Support the ongoing development of Laravel.io →

macliems

Joined 8 Apr 2014

Statistics

Threads 1
Replies 3
Solutions 1
Articles 0
posted 10 years ago

Eloquent get count relation

My Eloquent model Module has many Sections. I can query thus: Module::with('sections')->get();...

0 Likes
9 Replies
Solved
replied 10 years ago

Sending an email with database results

It wouold be better to put the code in a seperate class or on your model, instead of cluttering up y...

0 Likes
replied 10 years ago

Sending an email with database results

$data = array( 'partner' => Input::get('partner'), 'email' => Input::get('ema...

0 Likes
Solved
replied 10 years ago

Eloquent get count relation

Wow! I don't understand one iota of this code, but.... it works (after changing your typo Posts to S...

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.

© 2024 Laravel.io - All rights reserved.