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