Skip to content

collection.insertDocuments not working for JSON strings #91

Closed
@monaddle

Description

@monaddle

Working with the arangodb java driver trying to bulk insert documents, we're encountering that while the driver will allow us to insert a single document as a json string:

val js = ObjectToJson(obj).toString
db.collection.insertDocument(js)

it will not allow us to insert a set of documents as json string:
val js = ObjectToJson(obj).toString
val jsArray = new Array(js)
db.collection.insertDocuments(jsArray)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions