DB: in eloquent using sql
snippet in sql

laravel use db

user7102

use Illuminate\Support\Facades\DB;

DB: in eloquent using sql

user7160

$results = DB::select('select * from users where id = :id', ['id' => 1]);