It should be noted that if you want to judge whether the data set is empty, you cannot use empty
the judgment directly, but must use the method of the data set object isEmpty
to judge, for example:
$users = Db::name('user')->select();
if($users->isEmpty()){
echo '数据集为空';
}