PHP Интерфейс PHPUnit_Extensions_Database_DB_IMetaData, qcodo

Автор: Mike Lively ([email protected])
Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
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