Find all/single entities by example
- This function returns array
Key | Type | Required | Default | Description |
---|---|---|---|---|
example | any | Yes | --- | The entity sample |
unique | boolean | false | false | Return an array of sample data or none |
currentUser = ormService.findByExample( session.user, true );