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