我们正在使用Strongloop的Loopback框架公开一些REST。我们有不同的回环模型对应于不同的REST实体。在回环模型A中,我们在API响应中返回一个数组。在另一个环回模型,模型B中,我们使用由公开的CollectionsJS,如下所示:...//create the SortedSet instance and push values.
现在,如果没有这种要求,模型A的API将正确返回数组。在模型B中添加此要求之后
我喜欢使用loopback 4 whereBuilder来构建一个查询,比如'select * from file where id not in (select fileId from workFile where workId='xxxxx')‘,我试了一下: const fileIdArray = await this.workFileRepository.find({ fileId: { } });
const ret = awai