PHP Class PHPUnit_Extensions_Database_DataSet_Specs_DbTable, qcodo
This spec class requires a list of databases to be set to the object before
it can return a list of databases.
The format of the spec string is as follows:
::
The db label should be equal to one of the keys in the array of databases
passed to setDatabases().
The schema should be the primary schema you will be choosing tables from.
The tables should be a comma delimited list of all tables you would like to
pull data from.
The sql is the query you want to use to generate the table columns and data.
The column names in the table will be identical to the column aliases in the
query.
Afficher le fichier
Open project: qcodo/qcodo
Protected Properties
Méthodes publiques
Méthode |
Description |
|
getDataSet ( string $dataSetSpec ) : PHPUnit_Extensions_Database_DataSet_IDataSet |
Creates a DB Data Set from a data set spec. |
|
setDatabases ( array $databases ) |
Sets the database for the spec |
|
Method Details
getDataSet()
public méthode
Creates a DB Data Set from a data set spec.
public getDataSet ( string $dataSetSpec ) : PHPUnit_Extensions_Database_DataSet_IDataSet |
$dataSetSpec |
string |
|
Résultat |
PHPUnit_Extensions_Database_DataSet_IDataSet |
|
setDatabases()
public méthode
Sets the database for the spec
Property Details
$databases protected_oe property
protected array $databases |
Résultat |
array |
|