📌  相关文章
📜  检查现有用户 laravel eloquent - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:16.535000             🧑  作者: Mango

代码示例3
$users = User::where('email', '=', $request->input('email'))->first();
if ($users === null) {
  // User does not exist
} else {
  // User exits
}