Свойство | Type | Description | |
---|---|---|---|
$delimiterIdentifier | array |
Méthode | Description | |
---|---|---|
__construct ( $conn ) | ||
createCommandBuilder ( $tableName = null ) : |
Creates a command builder for a given table name. | |
findTableNames ( string $schema = '' ) : array | Returns all table names in the database. | |
getDbConnection ( ) : TDbConnection | ||
getInstance ( $conn ) : |
Obtain database specific TDbMetaData class using the driver name of the database connection. | |
getTableInfo ( $tableName = null ) : |
Obtains table meta data information for the current connection and given table name. | |
quoteColumnAlias ( string $name ) : string | Quotes a column alias for use in a query. | |
quoteColumnName ( string $name ) : string | Quotes a column name for use in a query. | |
quoteTableName ( string $name ) : string | Quotes a table name for use in a query. |
Méthode | Description | |
---|---|---|
createTableInfo ( $tableName ) : |
This method should be implemented by decendent classes. | |
getTableInfoClass ( ) : string |
public createCommandBuilder ( $tableName = null ) : |
||
Résultat | command builder instance for the given table. |
abstract protected createTableInfo ( $tableName ) : |
||
Résultat | driver dependent create builder. |
abstract public findTableNames ( string $schema = '' ) : array | ||
$schema | string | the schema of the tables. Defaults to empty string, meaning the current or default schema. If not empty, the returned table names will be prefixed with the schema name. |
Résultat | array | all table names in the database. |
public getDbConnection ( ) : TDbConnection | ||
Résultat | TDbConnection | database connection. |
public static getInstance ( $conn ) : |
||
Résultat | database specific TDbMetaData. |
public getTableInfo ( $tableName = null ) : |
||
Résultat | table information. |
protected getTableInfoClass ( ) : string | ||
Résultat | string | TDbTableInfo class name. |
public quoteColumnAlias ( string $name ) : string | ||
$name | string | column alias |
Résultat | string | the properly quoted column alias |
public quoteColumnName ( string $name ) : string | ||
$name | string | column name |
Résultat | string | the properly quoted column name |
public quoteTableName ( string $name ) : string | ||
$name | string | table name |
Résultat | string | the properly quoted table name |
protected static array $delimiterIdentifier | ||
Résultat | array |