system/Database/BaseBuilder.php
public function getCompiledDelete(bool $reset = true): string
	{
		$table = $this->QBFrom[0];

		$sql = $this->delete($table, '', $reset, true);

		return $this->compileFinalQuery($sql);
	}
public function getCompiledDelete(bool $reset = true): string
	{
		$table = $this->QBFrom[0];

		$sql = $this->delete($table, '', $reset, true);

		return $this->compileFinalQuery($sql);
	}
Get DELETE query string

Compiles a delete query string and returns the sql

@param boolean $reset TRUE: reset QB values; FALSE: leave QB values alone

@return string