Closed
Description
Working with the arangodb java driver trying to do bulk operations, we're encountering that while the driver will allow us to update a single document as a json string (Key, Js string):
val js = ObjectToJson(obj).toString
db.collection.updateDocument(String,js)
it will not allow us to update a set of documents as Map(String,json string):
val js = ObjectToJson(obj).toString
db.collection.updateDocuments(Map(String,String))
Similarly, we are trying to do bulk operation on replaceDocuments
It allows,
val js = ObjectToJson(obj).toString
db.collection.replaceDocument(String,js)
but not,
db.collection.replaceDocuments(Map(String,String))