laravel DB::connection()->getPdo() code example
Example: DB: in eloquent using sql
$results = DB::select('select * from users where id = :id', ['id' => 1]);
$results = DB::select('select * from users where id = :id', ['id' => 1]);