Class TSqliteMetaData
TSqliteMetaData loads SQLite database table and column information.
Method Summary |
protected
TPgsqlTableInfo
|
Get the column definitions for given table.
|
protected
array
|
|
protected
boolean
|
|
protected
string
|
|
protected
boolean
|
|
protected
TSqliteTableColumn
|
|
Methods Inherited From TComponent |
TComponent::addParsedObject(), TComponent::attachEventHandler(), TComponent::canGetProperty(), TComponent::canSetProperty(), TComponent::createdOnTemplate(), TComponent::detachEventHandler(), TComponent::evaluateExpression(), TComponent::evaluateStatements(), TComponent::getEventHandlers(), TComponent::getSubProperty(), TComponent::hasEvent(), TComponent::hasEventHandler(), TComponent::hasProperty(), TComponent::raiseEvent(), TComponent::setSubProperty(), TComponent::__get(), TComponent::__set()
|
Method Details |
createTableInfo
Get the column definitions for given table.
Input |
string | $tableName | table name. |
Output |
TPgsqlTableInfo
| table information. |
Exception |
|
getForeignKeys
protected array getForeignKeys |
(string $table ) |
Input |
string | $table | quoted table name. |
Output |
array
| foreign key details. |
Exception |
|
getIsView
protected boolean getIsView |
(string $tableName ) |
Input |
string | $tableName | table name. |
Output |
boolean
| true if the table is a view. |
Exception |
|
getTableInfoClass
protected string getTableInfoClass |
() |
Output |
string
| TDbTableInfo class name. |
Exception |
|
isForeignKeyColumn
protected boolean isForeignKeyColumn |
(string $columnId , array $foreign ) |
Input |
string | $columnId | column name. |
array | $foreign | foreign key column names. |
Output |
boolean
| true if column is a foreign key. |
Exception |
|
processColumn
Input |
array | $col | column information. |
array | $foreign | foreign key details. |
Output |
TSqliteTableColumn
| column details. |
Exception |
|
|