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

15 lines
197 B
Markdown

`FoxxRepository#save(model)`
Saves a model into the database.
Expects a model. Will set the ID and Rev on the model.
Returns the model.
@EXAMPLES
```javascript
repository.save(my_model);
```