Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

larave with using where

Event::with(["participants" => function($q){
    $q->where('participants.IdUser', '=', 1);
}])
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #larave
ADD COMMENT
Topic
Name
7+4 =