Yunbo
07/26/2022, 3:25 AMaccntId : 1, regionId: 1
this.prisma.cidrBlock.findFirst({
where: {
vpcs: {
none: {
account_id: accntId,
region_id: regionId,
},
},
},
orderBy: {
id: 'asc',
},
});Aladin
07/26/2022, 3:36 AMYunbo
07/26/2022, 3:46 AMaccount_id: true, region_id: true
then it makes sense because it's what the doc said but i don't know why they(example above) have "value" in there. maybe that query is just totally wrong. i'll keep digging until i know more.Yunbo
07/26/2022, 3:58 AMYunbo
07/26/2022, 3:59 AMNurul
07/26/2022, 1:58 PMconst prisma = new PrismaClient({
log: ['query'],
})