const testitems = await tx.A.findMany({
where: {
B: {
some: {
C: {
is: {
D: {
is: {
X: {
equals: 'Y',
},
},
},
},
},
},
},
},
});
const testitems = await tx.A.findMany({
where: {
B: {
some: {
C: {
is: {
D: {
is: {
X: {
equals: 'Y',
},
},
},
},
},
},
},
},
});