Monday 12 July 2021

ArangoDB: Working with collections

Collection is a set of documents. Every collection in ArangoDB have a unique identifier and a unique name.

 

Collection Name

Collection name is supplied by the user at the time of collection creation in a database. Collection name must consist of letters, digits, and the _ (underscore) and - (dash) characters only. Collection name must be unique within a database.

 

Collection identifier

Collection identifier is created by ArangoDB, user do not have any control on it. Collection identifier is used to identify a collection in a database. At the time of writing this post, ArangoDB uses 64bit unsigned integer values to maintain collection ids internally.

 

      ArangoDB: Create a collection
      ArangoDB: Get all the collections in a database
      ArangoDB: Get the collection by name
      ArangoDB: Drop a collection
      ArangoDB: Refer a collection with name
      ArangoDB: truncate: remove all the documents but keep indexes
      ArangoDB: Figures: Get statistics of a collection
      ArangoDB: shard: Get available shards for the collection
      ArangoDB: load: load a collection into memory
      ArangoDB: revision: Get the revision id of a collection
      ArangoDB: Get check sum of the data in a collection

 

 

Previous                                                    Next                                                    Home

No comments:

Post a Comment