Answers for "laravel range query"

PHP
0

laravel range query

$numToFind = 500;

if(Model::where('range_from', '>=', $numToFind)->where('range_to', '<=', $numToFind)->count()) {
    // It exists...
}
Posted by: Guest on September-02-2021

Browse Popular Code Answers by Language