laravel/laravel — pull request #998 by racklin (2012-07-24 04:30:55+00:00)
Title: Added get an array of tables in the database.

Signed-off-by: Rack Lin

#### Getting an array of tables in the database:

$tables = DB::tables();

or

$tables = DB::connection('sqlite')->tables();

> **Note:** If no connection name is specified, the **default** connection's database tables will be returned.