src/xPDO/Om/xPDOCriteria.php
public function toSQL($parseBindings = true) {
        $sql = $this->sql;
        if ($parseBindings && !empty($this->bindings)) {
            $sql = $this->xpdo->parseBindings($sql, $this->bindings);
        }
        return $sql;
    }
public function toSQL($parseBindings = true) {
        $sql = $this->sql;
        if ($parseBindings && !empty($this->bindings)) {
            $sql = $this->xpdo->parseBindings($sql, $this->bindings);
        }
        return $sql;
    }
public function toSQL ( $ parseBindings = true ) { $ sql = $ this -> sql ; if ( $ parseBindings && ! empty ( $ this -> bindings ) ) { $ sql = $ this -> xpdo -> parseBindings ( $ sql , $ this -> bindings ) ; } return $ sql ; }
Converts the current xPDOQuery to parsed SQL.

@param bool $parseBindings If true, bindings are parsed locally; otherwise
they are left in place.
@return string The parsed SQL query.
Converts the current xPDOQuery to parsed SQL .