Tuesday 13 July 2021

ArangoDB: Get all the collections in a database

'db._collections()’ method return all the collections of a database.

127.0.0.1:8529@_system> db._collections()
[ 
  [ArangoCollection 19, "_analyzers" (type document, status loaded)], 
  [ArangoCollection 34, "_appbundles" (type document, status loaded)], 
  [ArangoCollection 31, "_apps" (type document, status loaded)], 
  [ArangoCollection 22, "_aqlfunctions" (type document, status loaded)], 
  [ArangoCollection 43, "_fishbowl" (type document, status loaded)], 
  [ArangoCollection 37, "_frontend" (type document, status loaded)], 
  [ArangoCollection 7, "_graphs" (type document, status loaded)], 
  [ArangoCollection 28, "_jobs" (type document, status loaded)], 
  [ArangoCollection 40, "_modules" (type document, status loaded)], 
  [ArangoCollection 25, "_queues" (type document, status loaded)], 
  [ArangoCollection 10, "_statistics" (type document, status loaded)], 
  [ArangoCollection 13, "_statistics15" (type document, status loaded)], 
  [ArangoCollection 16, "_statisticsRaw" (type document, status loaded)] 
]

 

 

 

Previous                                                    Next                                                    Home

No comments:

Post a Comment