title: How to select all column name from a table in laravel?
body: <p>I have tried to get all column names from a table <strong>Teller</strong></p>
  
  <p>Function:</p>
  
  <pre><code>public function getTableColumns($tables)
  {
      return DB::select(DB::raw('SELECT 
                                      COLUMN_NAME, 
                                      DATA_TYPE, 
                                      COLUMN_DEFAULT
                                  FROM 
                                      INFORMATION_SCHEMA.COLUMNS
                                  WHERE 
                                      table_name = `Teller`'));
  }
  </code></pre>