Class TDbMetaData
TDbMetaData is the base class for retrieving metadata information, such as table and columns information, from a database connection.
Use the TDbMetaData::getTableInfo()
method to retrieve a table information.
- TComponent
-
TDbMetaData
Direct known subclasses
TMssqlMetaData, TMysqlMetaData, TOracleMetaData, TPgsqlMetaData, TSqliteMetaData
Abstract
Package: System\Data\Common
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Wei Zhuo <weizho[at]gmail[dot]com>
Since: 3.1
Located at Data/Common/TDbMetaData.php
Package: System\Data\Common
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Wei Zhuo <weizho[at]gmail[dot]com>
Since: 3.1
Located at Data/Common/TDbMetaData.php
public
|
|
public
|
|
public static
|
#
getInstance(
Obtain database specific TDbMetaData class using the driver name of the database connection. |
public
|
#
getTableInfo( string $tableName = null )
Obtains table meta data information for the current connection and given table name. |
public
|
#
createCommandBuilder( string $tableName = null )
Creates a command builder for a given table name. |
abstract protected
|
|
protected
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
abstract public
array
|
#
findTableNames( string $schema = '' )
Returns all table names in the database. This method should be overridden by child classes in order to support this feature because the default implementation simply throws an exception. |
GLOBAL_RAISE_EVENT_LISTENER
|
protected static
array
|
$delimiterIdentifier | array('[', ']', '"', '`', "'") |