PHP Class PHPUnit_Extensions_Database_DB_MetaData_Oci, qcodo

Author: Trond Hansen ([email protected])
Inheritance: extends PHPUnit_Extensions_Database_DB_MetaData
Show file Open project: qcodo/qcodo

Protected Properties

Property Type Description
$columns array
$keys array
$schemaObjectQuoteChar string No character used to quote schema objects.
$truncateCommand string The command used to perform a TRUNCATE operation.

Public Methods

Method Description
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.

Protected Methods

Method Description
loadColumnInfo ( string $tableName ) Loads column info from a oracle database.

Method Details

getTableColumns() public method

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

getTableNames() public method

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

getTablePrimaryKeys() public method

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

loadColumnInfo() protected method

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

Property Details

$columns protected property

protected array $columns
return array

$keys protected property

protected array $keys
return array

$schemaObjectQuoteChar protected property

No character used to quote schema objects.
protected string $schemaObjectQuoteChar
return string

$truncateCommand protected property

The command used to perform a TRUNCATE operation.
protected string $truncateCommand
return string