loopback filter query 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);
let _m = await Model.findById(id);
let _m = await Model.findOne(filter);