*/ protected array $_parts = [ 'comment' => null, 'with' => [], 'delete' => true, 'optimizerHint' => [], 'modifier' => [], 'from' => [], 'join' => [], 'where' => null, 'order' => null, 'limit' => null, 'epilog' => null, ]; /** * Create a delete query. * * Can be combined with from(), where() and other methods to * create delete queries with specific conditions. * * @param string|null $table The table to use when deleting. * @return $this */ public function delete(?string $table = null) { $this->_dirty(); if ($table !== null) { $this->from($table); } return $this; } }