Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

wherebetween laravel

DB::table('users')
            ->where('name', '=', 'John')
            ->orWhere(function ($query) {
                $query->where('votes', '>', 100)
                      ->where('title', '<>', 'Admin');
            })
            ->get();
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #wherebetween #laravel
ADD COMMENT
Topic
Name
6+1 =