PHP 클래스 Codeception\Module\ExtendedDb

상속: extends Codeception\Module\Db
파일 보기 프로젝트 열기: lucatume/wp-browser 1 사용 예제들

공개 메소드들

메소드 설명
dontHaveInDatabase ( string $table, array $criteria ) : void Deletes a database entry.
haveOrUpdateInDatabase ( string $table, array $data ) : void Inserts or updates a database entry on duplicate key.

메소드 상세

dontHaveInDatabase() 공개 메소드

Deletes a database entry.
public dontHaveInDatabase ( string $table, array $criteria ) : void
$table string The table name.
$criteria array
리턴 void

haveOrUpdateInDatabase() 공개 메소드

Inserts or updates a database entry on duplicate key.
public haveOrUpdateInDatabase ( string $table, array $data ) : void
$table string The table name.
$data array An associative array of the column names and values to insert.
리턴 void