PHP Interface PHPUnit_Extensions_Database_DB_IMetaData, qcodo

Author: Mike Lively ([email protected])
Afficher le fichier Open project: qcodo/qcodo Interface Usage Examples

Méthodes publiques

Méthode Description
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)

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 name of the default schema.
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

quoteSchemaObject() public méthode

Returns a quoted schema object. (table name, column name, etc)
public quoteSchemaObject ( string $object ) : string
$object string
Résultat string