1
0
Fork 0
arangodb/Documentation/DocuBlocks/JSF_foxx_repository_update.md

300 B

FoxxRepository#update(model, object)

Find the model in the database by its _id and update it with the given object. Expects a model. Sets the revision of the model and updates its properties. Returns the model.

@EXAMPLES

repository.update(myModel, {name: 'Jan Steeman'});