📅  最后修改于: 2022-03-11 14:54:07.385000             🧑  作者: Mango
代码示例1
$numToFind = 500;
if(Model::where('range_from', '>=', $numToFind)->where('range_to', '<=', $numToFind)->count()) {
// It exists...
}