I hereby claim:
- I am brayann on github.
- I am brayanrastelli (https://keybase.io/brayanrastelli) on keybase.
- I have a public key whose fingerprint is F469 7BFE D194 5DF4 AB29 2F63 B448 0867 07AE 37C6
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
If I add this code to my query: | |
->leftJoin('event_schedule', function($join) { | |
$join->on('event_schedule.foreign_id', '=', 'crm_actions.id') | |
->where('event_schedule.event_id', '=', 6); | |
}) | |
I receive this | |
array (size=7) | |
'total' => int 19 |
Class User extends Eloquent { | |
public $acessible = array ('name', 'email'); | |
public function posts () { | |
return $this->has_many('Post'); | |
} |