Method Details |
createCommandBuilder
|
getColumn
Input |
string | $name | column id |
Output |
TDbTableColumn
| column information. |
Exception |
|
getColumnNames
public array getColumnNames |
(array 0 ) |
Input |
array | 0 | list of column Id, empty to get all columns. |
Output |
array
| table column names (identifier quoted) |
Exception |
|
getColumns
public TMap getColumns |
() |
Output |
TMap
| TDbTableColumn column meta data. |
Exception |
|
getForeignKeys
public array getForeignKeys |
() |
Output |
array
| tuples of foreign table and column name. |
Exception |
|
getInfo
public mixed getInfo |
(string $name , mixed $default ) |
Input |
string | $name | information array key name |
mixed | $default | default value if information array value is null |
Output |
mixed
| information array value. |
Exception |
|
getIsView
public boolean getIsView |
() |
Output |
boolean
| whether the table is a view, default is false. |
Exception |
|
getLowerCaseColumnNames
public array getLowerCaseColumnNames |
() |
Output |
array
| lowercased column key names mapped to normal column ids. |
Exception |
|
getPrimaryKeys
public string[] getPrimaryKeys |
() |
Output |
string[]
| names of primary key columns. |
Exception |
|
getTableFullName
public string getTableFullName |
() |
Output |
string
| full name of the table, database dependent. |
Exception |
|
getTableName
public string getTableName |
() |
Output |
string
| name of the table this column belongs to. |
Exception |
|
setInfo
protected void setInfo |
(string $name , mixed $value ) |
Input |
string | $name | information array key name |
mixed | $value | new information array value. |
Output |
Exception |
|