Answers for "deleted_at"

PHP
0

deleted_at

$query = Role::join('users', 'roles.id', '=', 'users.role_id');
$user = User::all();
$users = $query->select('users.*', 'roles.name as role_name')->where('users.deleted_at', null)->paginate(10);
Posted by: Guest on October-12-2021

Code answers related to "deleted_at"

Browse Popular Code Answers by Language