public function openTransaction($conn = null, $queryMode = self::WRITE_QUERY)
    {
        $command = $this->invoke('neo.open_transaction', $conn);
        $command->setArguments($queryMode);
        $httpResponse = $command->execute();

        return $this->handleHttpResponse($httpResponse);
    }