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

13 lines
155 B
Markdown

`FoxxRepository#exists(id)`
Checks whether a model with the given ID or key exists.
@EXAMPLES
```javascript
repository.exists(model.get('_id'));
```