This commit is contained in:
Taylor Otwell
2012-04-03 16:53:15 -05:00
parent daea5fee2d
commit 1ca7d799af
11 changed files with 191 additions and 277 deletions

View File

@@ -35,6 +35,12 @@
Route::get('/', function()
{
Config::set('database.connections.mysql.password', 'password');
Config::set('database.connections.mysql.database', 'bundler');
DB::table('users')->get();
DB::table('users')->where_id(1)->first();
DB::table('users')->where_in('id', array(1, 2, 3))->get();
Log::error('Something went wrong!');
return View::make('home.index');
});