Solar_Sql_Adapter_Pgsql::_sqlCreateTable()

protected string Solar_Sql_Adapter_Pgsql::_sqlCreateTable ( string $table , string $cols )

Returns a CREATE TABLE command string for the adapter.

Inherited from Solar_Sql_Adapter.

Parameters

  • (string) $table: The table name to create.

  • (string) $cols: The column definitions.

Returns

  • (string) A CREATE TABLE command string.

Description

Returns a CREATE TABLE command string for the adapter.

We use this so that certain adapters can append table types to the creation statment (for example MySQL).



Local