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

14 lines
208 B
Markdown

`FoxxRepository#firstExample(example)`
Returns the first model that matches the given example.
@EXAMPLES
```javascript
var myModel = repository.firstExample({ amazing: true });
myModel.get('name');
```