Skip to contents

Updates the attributes of an ArangoDocument locally (not in the server). To update the ArangoDocument in the server the function collection_update or collection_update_PUT must be called. This is the document_set function from aRandodb package modified to accept a listas input.

Usage

document_set_LIST(.data, LIST)

Arguments

.data

ArangoDocument The document to be updated.

LIST

A list of attributes (i.e. the list names) and values (i.e. the list elements).

Value

The ArangoDocument updated but not yet consistent with the server image.

Author

This is minor modification of Gabriele Galatolo function document_set from aRangodb package. Tiago Monteiro-Henriques. E-mail: tmh.dev@icloud.com.