_generated\CodeGuyActions::seeNumRecords PHP Method

seeNumRecords() public method

Asserts that the given number of records were found in the database. php seeNumRecords(1, 'users', ['name' => 'davert']) ?>
See also: Codeception\Module\Db::seeNumRecords()
public seeNumRecords ( integer $expectedNumber, string $table, array $criteria = null )
$expectedNumber integer Expected number
$table string Table name
$criteria array Search criteria [Optional]
    public function seeNumRecords($expectedNumber, $table, $criteria = null)
    {
        return $this->getScenario()->runStep(new \Codeception\Step\Assertion('seeNumRecords', func_get_args()));
    }