Monday, 23 August 2021

ArangoDB: Check for the existence of multiple documents

Signature

collection.exists(array)

 

This method takes an array of elements as argument and tells whether the document exists or not. Array argument can contain object _id, _key (or) you can even specify it in json object form.

Previous                                                    Next                                                    Home

No comments:

Post a Comment