tur
tur
DTDrizzle Team
Created by tur on 1/14/2025 in #help
``
db.query.actionRecord.findMany({
with: {
recruiter: true,
},
});
db.query.actionRecord.findMany({
with: {
recruiter: true,
},
});
this is my query get this error:
Cannot read properties of undefined (reading 'referencedTable')
Cannot read properties of undefined (reading 'referencedTable')
but wheni tried raw query its working:
SELECT * FROM ActionRecord JOIN Recruiters ON ActionRecord.recruiterId = Recruiters.id;
SELECT * FROM ActionRecord JOIN Recruiters ON ActionRecord.recruiterId = Recruiters.id;
why??
3 replies