Monday, 19 July 2021

ArangoDB: Refer a collection with name

‘db.collectionName’ statement return the collection with given name.

 

Example

col = db.demodb

127.0.0.1:8529@demo> db.demodb
[ArangoCollection 10954, "demodb" (type document, status loaded)]

127.0.0.1:8529@demo> col = db.demodb
[ArangoCollection 10954, "demodb" (type document, status loaded)]

127.0.0.1:8529@demo> col
[ArangoCollection 10954, "demodb" (type document, status loaded)]

 

 

Previous                                                    Next                                                    Home

No comments:

Post a Comment