How does one go about escaping parameters passed to a raw query in Laravel 4? I expected something like DB::escape() (which rings a bell from Laravel 3) and als
DB::escape()
$value = Input::get("userID"); $results = DB::select( DB::raw("SELECT * FROM users WHERE users.id = :value"), array( 'value' => $value, ));
More Details HERE