search in loopback code example
Example 1: findone loopback
let _m = await Model.findOne(filter);
Example 2: loopback find http query
/accounts?filter[where][name]=John&filter[limit]=3
let _m = await Model.findOne(filter);
/accounts?filter[where][name]=John&filter[limit]=3