DeleteQuery::__construct PHP Method

__construct() public method

DeleteQuery constructor.
public __construct ( FluentPDO $fpdo, string $table )
$fpdo FluentPDO
$table string
    public function __construct(FluentPDO $fpdo, $table)
    {
        $clauses = array('DELETE FROM' => array($this, 'getClauseDeleteFrom'), 'DELETE' => array($this, 'getClauseDelete'), 'FROM' => null, 'JOIN' => array($this, 'getClauseJoin'), 'WHERE' => ' AND ', 'ORDER BY' => ', ', 'LIMIT' => null);
        parent::__construct($fpdo, $clauses);
        $this->statements['DELETE FROM'] = $table;
        $this->statements['DELETE'] = $table;
    }