PHP Class Codeception\Lib\Driver\ExtendedMySql

Inheritance: extends Codeception\Lib\Driver\MySql
Afficher le fichier Open project: lucatume/wp-browser

Méthodes publiques

Méthode Description
insertOrUpdate ( string $tableName, array $data ) : string Returns the statement to insert or update an entry in the database.

Méthodes protégées

Méthode Description
getAssignmentsFor ( array $data, $glue = ', ' )

Method Details

getAssignmentsFor() protected méthode

protected getAssignmentsFor ( array $data, $glue = ', ' )
$data array

insertOrUpdate() public méthode

Returns the statement to insert or update an entry in the database.
public insertOrUpdate ( string $tableName, array $data ) : string
$tableName string The table name to use
$data array Key/value pairs of the data to insert/update.
Résultat string The query string ready to be prepared.