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