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

14 lines
194 B
Markdown

`FoxxRepository#byExample(example)`
Returns an array of models for the given ID.
@EXAMPLES
```javascript
var myModel = repository.byExample({ amazing: true });
myModel[0].get('name');
```