PHP Class PHPUnit_Extensions_Database_DB_MetaData_PgSQL, qcodo

Author: Mike Lively ([email protected])
Inheritance: extends PHPUnit_Extensions_Database_DB_MetaData
Afficher le fichier Open project: qcodo/qcodo

Méthodes publiques

Méthode Description
allowsCascading ( ) : boolean Returns true if the rdbms allows cascading
getSchema ( ) : string Returns the schema for the connection.
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.

Méthodes protégées

Méthode Description
loadColumnInfo ( string $tableName ) Loads column info from a database table.

Method Details

allowsCascading() public méthode

Returns true if the rdbms allows cascading
public allowsCascading ( ) : boolean
Résultat boolean

getSchema() public méthode

Returns the schema for the connection.
public getSchema ( ) : string
Résultat string

getTableColumns() public méthode

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

getTableNames() public méthode

Returns an array containing the names of all the tables in the database.
public getTableNames ( ) : array
Résultat array

getTablePrimaryKeys() public méthode

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

loadColumnInfo() protected méthode

Loads column info from a database table.
protected loadColumnInfo ( string $tableName )
$tableName string