Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 543 Bytes

File metadata and controls

20 lines (13 loc) · 543 Bytes

findByExample

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 );