|
Class TSqliteMetaData
TSqliteMetaData loads SQLite database table and column information.
-
TComponent
-
TDbMetaData
-
TSqliteMetaData
Methods summary
protected
string
|
#
getTableInfoClass( )
Returns
string TDbTableInfo class name.
Overrides
|
public
string
|
#
quoteTableName( string $name )
Quotes a table name for use in a query.
Quotes a table name for use in a query.
Parameters
- $name
string $name table name
Returns
string the properly quoted table name
Overrides
|
public
string
|
#
quoteColumnName( string $name )
Quotes a column name for use in a query.
Quotes a column name for use in a query.
Parameters
- $name
string $name column name
Returns
string the properly quoted column name
Overrides
|
public
string
|
#
quoteColumnAlias( string $name )
Quotes a column alias for use in a query.
Quotes a column alias for use in a query.
Parameters
- $name
string $name column alias
Returns
string the properly quoted column alias
Overrides
|
protected
TPgsqlTableInfo
|
#
createTableInfo( string $tableName )
Get the column definitions for given table.
Get the column definitions for given table.
Parameters
- $tableName
string table name.
Returns
|
protected
boolean
|
#
getIsView( string $tableName )
Parameters
- $tableName
string table name.
Returns
boolean true if the table is a view.
|
protected
TSqliteTableColumn
|
#
processColumn( array $col, array $foreign )
Parameters
- $col
array column information.
- $foreign
array foreign key details.
Returns
|
protected
array
|
#
getForeignKeys( string $table )
Parameters
- $table
string quoted table name.
Returns
array foreign key details.
|
protected
boolean
|
#
isForeignKeyColumn( string $columnId, array $foreign )
Parameters
- $columnId
string column name.
- $foreign
array foreign key column names.
Returns
boolean true if column is a foreign key.
|
public
array
|
#
findTableNames( string $schema = '' )
Returns all table names in the database.
Returns all table names in the database.
Parameters
- $schema
string $schema the schema of the tables. This is not used for sqlite database.
Returns
array all table names in the database.
|
Methods inherited from TComponent
__call(),
__destruct(),
__get(),
__isset(),
__set(),
__sleep(),
__unset(),
__wakeup(),
addParsedObject(),
asa(),
attachBehavior(),
attachBehaviors(),
attachClassBehavior(),
attachEventHandler(),
canGetProperty(),
canSetProperty(),
clearBehaviors(),
createdOnTemplate(),
detachBehavior(),
detachBehaviors(),
detachClassBehavior(),
detachEventHandler(),
disableBehavior(),
disableBehaviors(),
enableBehavior(),
enableBehaviors(),
evaluateExpression(),
evaluateStatements(),
fxAttachClassBehavior(),
fxDetachClassBehavior(),
getAutoGlobalListen(),
getBehaviorsEnabled(),
getClassHierarchy(),
getEventHandlers(),
getListeningToGlobalEvents(),
getSubProperty(),
hasEvent(),
hasEventHandler(),
hasProperty(),
isa(),
listen(),
raiseEvent(),
setSubProperty(),
unlisten()
|
|