Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to check empty table in laravel

if (Order::exists()) {
    echo "im not empty";
    die();
} else {
    echo "Im empty";
    die();
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #empty #table #laravel
ADD COMMENT
Topic
Name
8+4 =