laravel where search with 2 column code example
Example: laravel where 2 column
$users = DB::table('users')
->whereColumn('updated_at', '>', 'created_at')
->get();
$users = DB::table('users')
->whereColumn('updated_at', '>', 'created_at')
->get();