Modules.find({where: {idApp: 1},
include: {
relation: "Favourite",
scope: {
fields: ["id", "accessCount"],
where: {idUser: idUser}
}
}
}, function (err, instance) {
response = instance;
cb(null, response);
});
};
I am going to try !! Thank you Ebrahim |
To view this discussion on the web visit https://groups.google.com/d/msgid/loopbackjs/b108d843-e144-42e4-92f3-591df661fcd3%40googlegroups.com.--
You received this message because you are subscribed to a topic in the Google Groups "LoopbackJS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/loopbackjs/M5WaVISMGyE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to loopbackjs+...@googlegroups.com.