select raw code example
Example 1: DB::table('users')->get();
$users = DB::table('users')->get();
Example 2: DB::table('users')->get();
DB::select('SELECT * FROM users WHERE name = ?', array(Input::get('name')));
$users = DB::table('users')->get();
DB::select('SELECT * FROM users WHERE name = ?', array(Input::get('name')));