arangors icon indicating copy to clipboard operation
arangors copied to clipboard

Support batch operations

Open inzanez opened this issue 5 years ago • 1 comments

Hi

would it make sense to implement batch operations like:

  • insert / update / replace / delete multiple documents (so basically extend the single document methods on arangors::collection::Collection based on [this documentation])(https://www.arangodb.com/docs/stable/http/document-working-with-documents.html#create-multiple-documents).
  • bulk import / export according to this documentation.

I guess this could be achieved using aql as well (bindvars with a Vec), but especially bulk import / export will give some performance benefits, according to the documentation.

inzanez avatar Sep 16 '20 07:09 inzanez

It certainly make sense. Maybe I would add this feature in the next minor update.

fMeow avatar Sep 19 '20 08:09 fMeow