public function __construct(QueryContext $context = null) { $clauses = array('DELETE FROM' => array($this, 'getClauseDeleteFrom'), 'DELETE' => array($this, 'getClauseDelete'), 'FROM' => null, 'JOIN' => array($this, 'getClauseJoin'), 'WHERE' => array($this, 'getClauseWhere'), 'ORDER BY' => ', ', 'LIMIT' => null); parent::__construct($clauses, $context); }
function __construct(QueryContext $context = null) { $clauses = array('SELECT' => ', ', 'FROM' => null, 'JOIN' => array($this, 'getClauseJoin'), 'WHERE' => array($this, 'getClauseWhere'), 'GROUP BY' => ',', 'HAVING' => ' AND ', 'ORDER BY' => ', ', 'LIMIT' => null, 'OFFSET' => null, "\n--" => "\n--"); parent::__construct($clauses, $context); }