PHP 인터페이스 PHPUnit_Extensions_Database_DB_IMetaData, qcodo

저자: Mike Lively ([email protected])
파일 보기 프로젝트 열기: qcodo/qcodo 0 사용 예제들

공개 메소드들

메소드 설명
allowsCascading ( ) : boolean Returns true if the rdbms allows cascading
getSchema ( ) : string Returns the name of the default schema.
getTableColumns ( string $tableName ) : array Returns an array containing the names of all the columns in the $tableName table,
getTableNames ( ) : array Returns an array containing the names of all the tables in the database.
getTablePrimaryKeys ( string $tableName ) : array Returns an array containing the names of all the primary key columns in the $tableName table.
quoteSchemaObject ( string $object ) : string Returns a quoted schema object. (table name, column name, etc)

메소드 상세

allowsCascading() 공개 메소드

Returns true if the rdbms allows cascading
public allowsCascading ( ) : boolean
리턴 boolean

getSchema() 공개 메소드

Returns the name of the default schema.
public getSchema ( ) : string
리턴 string

getTableColumns() 공개 메소드

Returns an array containing the names of all the columns in the $tableName table,
public getTableColumns ( string $tableName ) : array
$tableName string
리턴 array

getTableNames() 공개 메소드

Returns an array containing the names of all the tables in the database.
public getTableNames ( ) : array
리턴 array

getTablePrimaryKeys() 공개 메소드

Returns an array containing the names of all the primary key columns in the $tableName table.
public getTablePrimaryKeys ( string $tableName ) : array
$tableName string
리턴 array

quoteSchemaObject() 공개 메소드

Returns a quoted schema object. (table name, column name, etc)
public quoteSchemaObject ( string $object ) : string
$object string
리턴 string