How can I remove collection

18 views
Skip to first unread message

Andy

unread,
Jul 31, 2020, 10:07:22 AM7/31/20
to ArangoDB
I test sample of fuerte:
This add new collection by code
    {
        timer t;
        std::cout <<  "create collection ... " << std::flush;
        VPackBuilder builder;
        builder.openObject();
        builder.add("name" , VPackValue("blogpost"));
        builder.close();
        auto request = f::createRequest(f::RestVerb::Post, "/_api/collection"s);
        request->addVPack(builder.slice());
        auto result = connection->sendRequest(std::move(request));
        std::cout <<  "done" << std::endl;
    }


I don't know how to remove whole collection by fuerte nor by web http://127.0.0.1:8529 nor by AQL

Andy

unread,
Jul 31, 2020, 12:43:22 PM7/31/20
to ArangoDB
W dniu piątek, 31 lipca 2020 16:07:22 UTC+2 użytkownik Andy napisał:
I test sample of fuerte:
I don't know how to remove whole collection by fuerte nor by web http://127.0.0.1:8529 nor by AQL

Is OK: is possible delete collection by web interface: click on collection, goto tab settings and delete
Reply all
Reply to author
Forward
0 new messages