where between two columns laravel 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();