Doctrine\DBAL\Schema\AbstractSchemaManager::listTableColumns
List the columns for a given table.
In contrast to other libraries and to the old version of Doctrine, this column definition does try to contain the 'primary' field for the reason that it is not portable accross different RDBMS. Use {@see listTableIndexes($tableName)} to retrieve the primary key of a table. We're a RDBMS specifies more details these are held in the platformDetails array.
Signature
public function listTableColumns(string
$table,
[string
$database = null] )
Parameters
$table
— string- The name of the table.
$database
— string
Returns
- array