AttrbuteTranslator works, but next problem with the same example: 

        timer t;
        std::cout <<  "execute 1 long query ... " << std::flush;
        auto request = f::createRequest(f::RestVerb::Post, "/_api/cursor"s);
        VPackBuilder builder;
        builder.openObject();
 -----> builder.add("query", VPackValue("LET x = SLEEP(10) RETURN 1"));
        builder.close();
        request->addVPack(builder.slice());
        auto result = connection->sendRequest(std::move(request));
        std::cout <<  "done" << std::endl;

in this line is exception

-- 
You received this message because you are subscribed to the Google Groups 
"ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/arangodb/2bd843b4-955e-4794-b8ae-96975c6d6280o%40googlegroups.com.

Reply via email to