Files
homaroma/apps/backend/scratch_test_page.js
T
2026-06-28 05:52:46 -04:00

15 lines
450 B
JavaScript

import { PrismaClient } from '@prisma/client';
const prisma = new PrismaClient();
prisma.page.findUnique({
where: { slug: 'home' },
include: {
translations: true,
sections: {
include: {
translations: true
},
orderBy: { order: "asc" }
}
}
}).then(console.log).catch(console.error).finally(() => prisma.$disconnect());
//# sourceMappingURL=scratch_test_page.js.map