/path/arangosh --server.endpoint tcp://127.0.0.1:8529 --server.database “_system” --server.username root
help
Predefined objects:
arango: ArangoConnection
db: ArangoDatabase
fm: FoxxManager
Examples:
db._collections() list all collections
db._query().toArray() execute an AQL query
db._explain() explain an AQL query
help show help pages
exit
常用的功能:
Database Management Functions:
_createDatabase() creates a new database
_dropDatabase() drops an existing database
_useDatabase() switches into an existing database
_name() name of the current database
Collection Functions:
_collections() list all collections
_create(, ) creates a new collection
_createEdgeCollection() creates a new edge collection
_drop() delete a collection