DatabaseSchema_mysql::createTableSql

protected function DatabaseSchema_mysql::createTableSql

protected DatabaseSchema_mysql::createTableSql($name, $table)

Generate SQL to create a new table from a Drupal schema definition.

Parameters

$name: The name of the table to create.

$table: A Schema API table definition array.

Return value

An array of SQL statements to create the table.

File

includes/database/mysql/schema.inc, line 78
Database schema code for MySQL database servers.

Class

DatabaseSchema_mysql

Code

登录查看完整内容