PHP 클래스 Prado\Data\Common\Sqlite\TSqliteMetaData

부터: 3.1
상속: extends Prado\Data\Common\TDbMetaData
파일 보기 프로젝트 열기: pradosoft/prado

공개 메소드들

메소드 설명
findTableNames ( string $schema = '' ) : array Returns all table names in the database.
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 ) : TPgsqlTableInfo Get the column definitions for given table.
getForeignKeys ( $table ) : array
getIsView ( $tableName ) : boolean
getTableInfoClass ( ) : string
isForeignKeyColumn ( $columnId, $foreign ) : boolean
processColumn ( $col, $foreign ) : TSqliteTableColumn

메소드 상세

createTableInfo() 보호된 메소드

Get the column definitions for given table.
protected createTableInfo ( $tableName ) : TPgsqlTableInfo
리턴 TPgsqlTableInfo table information.

findTableNames() 공개 메소드

Returns all table names in the database.
public findTableNames ( string $schema = '' ) : array
$schema string the schema of the tables. This is not used for sqlite database.
리턴 array all table names in the database.

getForeignKeys() 보호된 메소드

protected getForeignKeys ( $table ) : array
리턴 array foreign key details.

getIsView() 보호된 메소드

protected getIsView ( $tableName ) : boolean
리턴 boolean true if the table is a view.

getTableInfoClass() 보호된 메소드

protected getTableInfoClass ( ) : string
리턴 string TDbTableInfo class name.

isForeignKeyColumn() 보호된 메소드

protected isForeignKeyColumn ( $columnId, $foreign ) : boolean
리턴 boolean true if column is a foreign key.

processColumn() 보호된 메소드

protected processColumn ( $col, $foreign ) : TSqliteTableColumn
리턴 TSqliteTableColumn column details.

quoteColumnAlias() 공개 메소드

Quotes a column alias for use in a query.
public quoteColumnAlias ( string $name ) : string
$name string column alias
리턴 string the properly quoted column alias

quoteColumnName() 공개 메소드

Quotes a column name for use in a query.
public quoteColumnName ( string $name ) : string
$name string column name
리턴 string the properly quoted column name

quoteTableName() 공개 메소드

Quotes a table name for use in a query.
public quoteTableName ( string $name ) : string
$name string table name
리턴 string the properly quoted table name