G
G
gerrrper2014-09-10 09:56:16
NoSQL
gerrrper, 2014-09-10 09:56:16

Arangosh - how to view/remove collections?

I connect so
arangosh --server.database <dbname>
further I want to see all collections
- delete them - all or some of them.
I can't find in the documentation how to do it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
likemusic, 2014-10-10
@gerrrper

List of all collections in the selected database:
delete all collections in the database at once . As a solution, delete the entire database and re-create it:

db._dropDatabase( 'dbName' );
db._createDatabase( 'dbName' );

A summary table of functions for managing various entities in ArangoDb (not yet completed, I once did it for myself).
The documentation seems to be very handy now.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question