src/NotORM/Result.php
function union(NotORM_Result $result, $all = false){
        $this->union[]    = " UNION " . ($all ? "ALL "
                : "") . ($this->notORM->driver == "sqlite" || $this->notORM->driver == "oci" ? $result : "($result)");
        $this->parameters = array_merge($this->parameters, $result->parameters);
        return $this;
    }
function union(NotORM_Result $result, $all = false){
        $this->union[]    = " UNION " . ($all ? "ALL "
                : "") . ($this->notORM->driver == "sqlite" || $this->notORM->driver == "oci" ? $result : "($result)");
        $this->parameters = array_merge($this->parameters, $result->parameters);
        return $this;
    }
function union ( NotORM_Result $ result , $ all = false ) { $ this -> union [ ] = " UNION " . ( $ all ? "ALL " : "" ) . ( $ this -> notORM -> driver == "sqlite" || $ this -> notORM -> driver == "oci" ? $ result : "($result)" ) ; $ this -> parameters = array_merge ( $ this -> parameters , $ result -> parameters ) ; return $ this ; }
@param NotORM_Result
@param bool

@return NotORM_Result fluent interface
@param NotORM_Result @param bool