Class: findValue

Adaptor~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: 'Mamadou' },
   operator: { first_name: 'like' }
 })