This commit is contained in:
unknown committed 2026-06-25 16:46:38 +07:00
1 parent c23a4723ed
commit 07e9413a6b
13 files changed
+497 -94

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
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());