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 list
as input.
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).
Author
This is minor modification of Gabriele Galatolo function document_set
from aRangodb
package.
Tiago Monteiro-Henriques. E-mail: tmh.dev@icloud.com.