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