Tuesday 28 April 2020

Help: Rest API with loopback 4

Hey guys, I’m working with loopback 4.There are couple of things I’m stuck on would be great if I have something to read about or a solutionThe database used is MSSQLI am trying to do a nested query with the models. If there is anybody with some experience achieving this. .find({ include:[ relation:’user’, scope: { where : { userId: 1 } }] }) This returns user: undefined if the where condition is not satisfiedsecondly, when I am doing a bulk insert I cannot use transactions with the datasourceThanks

Submitted April 28, 2020 at 09:20PM by wildbeardman

No comments:

Post a Comment