Thursday, 2 September 2021

ArangoDB: Get document id from key

'collection.documentId(documentKey)' method return the document id associated with this document key.

127.0.0.1:8529@abc_org> db.user.documentId("1234")
user/1234

 

 

Previous                                                    Next                                                    Home

No comments:

Post a Comment