public function setSessionVars(array $sessionVars)
    {
        $vars = [];
        foreach ($sessionVars as $option => $value) {
            if (strtoupper($option) == 'CURRENT_SCHEMA' || strtoupper($option) == 'EDITION') {
                $vars[] = "$option  = $value";
            } else {
                $vars[] = "$option  = '$value'";
            }
        }

        if ($vars) {
            $sql = 'ALTER SESSION SET ' . implode(' ', $vars);
            $this->statement($sql);
        }

        return $this;
    }
public function setSessionVars(array $sessionVars)
    {
        $vars = [];
        foreach ($sessionVars as $option => $value) {
            if (strtoupper($option) == 'CURRENT_SCHEMA' || strtoupper($option) == 'EDITION') {
                $vars[] = "$option  = $value";
            } else {
                $vars[] = "$option  = '$value'";
            }
        }

        if ($vars) {
            $sql = 'ALTER SESSION SET ' . implode(' ', $vars);
            $this->statement($sql);
        }

        return $this;
    }
public function setSessionVars ( array $ sessionVars ) { $ vars = [ ] ; foreach ( $ sessionVars as $ option => $ value ) { if ( strtoupper ( $ option ) == 'CURRENT_SCHEMA' || strtoupper ( $ option ) == 'EDITION' ) { $ vars [ ] = "$option  = $value" ; } else { $ vars [ ] = "$option  = '$value'" ; } } if ( $ vars ) { $ sql = 'ALTER SESSION SET ' . implode ( ' ' , $ vars ) ; $ this -> statement ( $ sql ) ; } return $ this ; }
Update oracle session variables.

@param array $sessionVars
@return $this
Update oracle session variables .