Convert a SQL column definition to an abstract type definition.
Generate the SQL fragment for a single column in a table.
convertColumnDefinition(array $definition, Cake\Database\DriverInterface $driver): array<string, mixed>|null
Convert a SQL column definition to an abstract type definition.
array
$definition The column definition.
Cake\Database\DriverInterface
$driver The driver instance being used.
array<string, mixed>|null
getColumnSql(Cake\Database\Schema\TableSchemaInterface $schema, string $column, Cake\Database\DriverInterface $driver): string|null
Generate the SQL fragment for a single column in a table.
Cake\Database\Schema\TableSchemaInterface
$schema The table schema instance the column is in.
string
$column The name of the column.
Cake\Database\DriverInterface
$driver The driver instance being used.
string|null
© 2005–present The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/4.4/interface-Cake.Database.Type.ColumnSchemaAwareInterface.html