$account = \MyProject\Models\Account::with(['user' => function($query){
$query->where('id', "=", $this->user->id);
}])->decrement('ruby', $value);
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community