Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel check if model relation exists

$model->relation()->exists()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #check #model #relation #exists
ADD COMMENT
Topic
Name
2+9 =