db\oci\ColumnSchemaBuilder buildAfterString()

buildAfterString() protected method Builds the after constraint for the column. Defaults to unsupported. protected string buildAfterString ( )return string A string containing the AFTER constraint.

db\mysql\Schema resolveTableNames()

resolveTableNames() protected method Resolves the table name and schema name (if any). protected void resolveTableNames ( $table, $name )$table yii\db\TableSchema The table metadata object $name string The table name

db\mysql\Schema quoteSimpleTableName()

quoteSimpleTableName() public method Quotes a table name for use in a query. A simple table name has no schema prefix. public string quoteSimpleTableName ( $name )$name string Table name return string The properly quoted table name

db\mysql\Schema quoteSimpleColumnName()

quoteSimpleColumnName() public method Quotes a column name for use in a query. A simple column name has no prefix. public string quoteSimpleColumnName ( $name )$name string Column name return string The properly quoted column name

db\mysql\Schema loadTableSchema()

loadTableSchema() protected method Loads the metadata for the specified table. protected yii\db\TableSchema loadTableSchema ( $name )$name string Table name return yii\db\TableSchema Driver dependent table metadata. Null if the table does not exist.

db\mysql\Schema loadColumnSchema()

loadColumnSchema() protected method Loads the column information into a yii\db\ColumnSchema object. protected yii\db\ColumnSchema loadColumnSchema ( $info )$info array Column information return yii\db\ColumnSchema The column schema object

db\mysql\Schema getCreateTableSql()

getCreateTableSql() protected method Gets the CREATE TABLE sql string. protected string getCreateTableSql ( $table )$table yii\db\TableSchema The table metadata return string $sql the result of 'SHOW CREATE TABLE'

db\mysql\Schema findUniqueIndexes()

findUniqueIndexes() public method Returns all unique indexes for the given table. Each array element is of the following structure: [ 'IndexName1' => ['col1' [, ...]], 'IndexName2' => ['col2' [, ...]], ] public array findUniqueIndexes ( $table )$table yii\db\TableSchema The table metadata return array All unique indexes for the given table.

db\mysql\Schema findTableNames()

findTableNames() protected method Returns all table names in the database. protected array findTableNames ( $schema = '' )$schema string The schema of the tables. Defaults to empty string, meaning the current or default schema. return array All table names in the database. The names have NO schema name prefix.

db\mysql\Schema findConstraints()

findConstraints() protected method Collects the foreign key column details for the given table. protected void findConstraints ( $table )$table yii\db\TableSchema The table metadata throws Exception