프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$delimiterIdentifier | array |
메소드 | 설명 | |
---|---|---|
__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. |
메소드 | 설명 | |
---|---|---|
createTableInfo ( $tableName ) : |
This method should be implemented by decendent classes. | |
getTableInfoClass ( ) : string |
public createCommandBuilder ( $tableName = null ) : |
||
리턴 | command builder instance for the given table. |
abstract protected createTableInfo ( $tableName ) : |
||
리턴 | 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. |
리턴 | array | all table names in the database. |
public getDbConnection ( ) : TDbConnection | ||
리턴 | TDbConnection | database connection. |
public static getInstance ( $conn ) : |
||
리턴 | database specific TDbMetaData. |
public getTableInfo ( $tableName = null ) : |
||
리턴 | table information. |
protected getTableInfoClass ( ) : string | ||
리턴 | string | TDbTableInfo class name. |
public quoteColumnAlias ( string $name ) : string | ||
$name | string | column alias |
리턴 | string | the properly quoted column alias |
public quoteColumnName ( string $name ) : string | ||
$name | string | column name |
리턴 | string | the properly quoted column name |
public quoteTableName ( string $name ) : string | ||
$name | string | table name |
리턴 | string | the properly quoted table name |