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

262 B

FoxxRepository#byId(id)

Returns the model for the given ID ("collection/key") or "key".

@EXAMPLES

var byIdModel = repository.byId('test/12411');
byIdModel.get('name');

var byKeyModel = repository.byId('12412');
byKeyModel.get('name');