src/Codeception/Module/WPDb.php
public function haveLinkInDatabase(array $overrides = [])
    {
        $tableName = $this->grabLinksTableName();
        $defaults = Links::getDefaults();
        $overrides = array_merge($defaults, array_intersect_key($overrides, $defaults));

        return $this->haveInDatabase($tableName, $overrides);
    }
public function haveLinkInDatabase(array $overrides = [])
    {
        $tableName = $this->grabLinksTableName();
        $defaults = Links::getDefaults();
        $overrides = array_merge($defaults, array_intersect_key($overrides, $defaults));

        return $this->haveInDatabase($tableName, $overrides);
    }
public function haveLinkInDatabase ( array $ overrides = [ ] ) { $ tableName = $ this -> grabLinksTableName ( ) ; $ defaults = Links :: getDefaults ( ) ; $ overrides = array_merge ( $ defaults , array_intersect_key ( $ overrides , $ defaults ) ) ; return $ this -> haveInDatabase ( $ tableName , $ overrides ) ; }
Inserts a link in the database.

@example
```php
$linkId = $I->haveLinkInDatabase(['link_url' => 'http://example.org']);
```

@param  array $overrides The data to insert.

@return int The inserted link `link_id`.
Inserts a link in the database .