public function deleteAQLFunctionsByNamespace($namespace)
    {
        try {
            $userFunction = new AqlUserFunction($this->_toolbox->getConnection());
            $userFunction->unregister($namespace, true);
        } catch (\Exception $e) {
            $normalised = $this->_toolbox->normaliseDriverExceptions($e);
            throw new ServerException($normalised['message'], $normalised['code']);
        }

        return true;
    }
public function deleteAQLFunctionsByNamespace($namespace)
    {
        try {
            $userFunction = new AqlUserFunction($this->_toolbox->getConnection());
            $userFunction->unregister($namespace, true);
        } catch (\Exception $e) {
            $normalised = $this->_toolbox->normaliseDriverExceptions($e);
            throw new ServerException($normalised['message'], $normalised['code']);
        }

        return true;
    }
public function deleteAQLFunctionsByNamespace ( $ namespace ) { try { $ userFunction = new AqlUserFunction ( $ this -> _toolbox -> getConnection ( ) ) ; $ userFunction -> unregister ( $ namespace , true ) ; } catch ( \ Exception $ e ) { $ normalised = $ this -> _toolbox -> normaliseDriverExceptions ( $ e ) ; throw new ServerException ( $ normalised [ 'message' ] , $ normalised [ 'code' ] ) ; } return true ; }
Delete all the AQL functions within a namespace.
@param  string          $namespace The name of the namespace to delete.
@throws ServerException
Delete all the AQL functions within a namespace .