src/mako/database/query/compilers/Compiler.php
public function delete(): array
	{
		$sql  = $this->query->getPrefix();
		$sql .= 'DELETE FROM ';
		$sql .= $this->escapeTable($this->query->getTable());
		$sql .= $this->wheres($this->query->getWheres());

		return ['sql' => $sql, 'params' => $this->params];
	}
public function delete(): array
	{
		$sql  = $this->query->getPrefix();
		$sql .= 'DELETE FROM ';
		$sql .= $this->escapeTable($this->query->getTable());
		$sql .= $this->wheres($this->query->getWheres());

		return ['sql' => $sql, 'params' => $this->params];
	}
public function delete ( ) : array { $ sql = $ this -> query -> getPrefix ( ) ; $ sql .= 'DELETE FROM ' ; $ sql .= $ this -> escapeTable ( $ this -> query -> getTable ( ) ) ; $ sql .= $ this -> wheres ( $ this -> query -> getWheres ( ) ) ; return [ 'sql' => $ sql , 'params' => $ this -> params ] ; }
Compiles a DELETE query.

@return array
Compiles a DELETE query .