Bluz\Db\Query\CompositeBuilder::__toString PHP Method

__toString() public method

Retrieve the string representation of this composite expression.
public __toString ( ) : string
return string
    public function __toString()
    {
        if (count($this->parts) === 1) {
            return (string) $this->parts[0];
        }
        return '(' . implode(') ' . $this->type . ' (', $this->parts) . ')';
    }