-
-
Couldn't load subscription status.
- Fork 19
findByExample
Jorge Reyes edited this page May 29, 2015
·
3 revisions
Find all/single entities by example
###Returns
- This function returns array
###Arguments
| Key | Type | Required | Default | Description |
|---|---|---|---|---|
| example | any | Yes | --- | The entity sample |
| unique | boolean | false | false | Return an array of sample data or none |
###Examples
currentUser = ormService.findByExample( session.user, true );