Method | Description | |
---|---|---|
__construct ( $tableInfo = [], $primary = [], $foreign = [] ) | Sets the database table meta data information. | |
createCommandBuilder ( $connection ) : |
||
getColumn ( $name ) : |
||
getColumnNames ( ) : array | ||
getColumns ( ) : |
||
getForeignKeys ( ) : array | ||
getIsView ( ) : boolean | ||
getLowerCaseColumnNames ( ) : array | ||
getPrimaryKeys ( ) : string[] | ||
getTableFullName ( ) : string | ||
getTableName ( ) : string |
Method | Description | |
---|---|---|
getInfo ( $name, $default = null ) : mixed | ||
setInfo ( $name, $value ) |
public __construct ( $tableInfo = [], $primary = [], $foreign = [] ) |
public createCommandBuilder ( $connection ) : |
||
return | new command builder |
public getColumn ( $name ) : |
||
return | column information. |
public getColumnNames ( ) : array | ||
return | array | table column names (identifier quoted) |
public getColumns ( ) : |
||
return | TDbTableColumn column meta data. |
public getForeignKeys ( ) : array | ||
return | array | tuples of foreign table and column name. |
public getLowerCaseColumnNames ( ) : array | ||
return | array | lowercased column key names mapped to normal column ids. |
public getPrimaryKeys ( ) : string[] | ||
return | string[] | names of primary key columns. |
public getTableFullName ( ) : string | ||
return | string | full name of the table, database dependent. |
public getTableName ( ) : string | ||
return | string | name of the table this column belongs to. |