1
0
Fork 0
arangodb/Documentation/DocuBlocks/foxx_repository_updateByExa...

14 lines
253 B
Markdown

`FoxxRepository#updateByExample(example, object)`
Find every matching item by example and update it with the attributes in
the provided object.
@EXAMPLES
```javascript
repository.updateByExample({ findMe: true }, { newAttribute: 'awesome' });
```