Class: findValue

findValue(filter) → {Operation}

new findValue(filter) → {Operation}

Fetch a uuid key given a condition
Parameters:
Name Type Description
filter object A filter object with the lookup table, a uuid and the condition
Source:
Returns:
Type
Operation
Example
findValue({
   uuid: 'id',
   relation: 'users',
   where: { first_name: 'Mama%', last_name: 'Cisse'},
   operator: { first_name: 'like', last_name: '='}
 })