x
This commit is contained in:
1 parent
c23a4723ed
commit
07e9413a6b
13 files changed
+497
-94
No files matched your search
@@ -0,0 +1,10 @@
|
||||
import prisma from './src/lib/prisma';
|
||||
prisma.page.findUnique({
|
||||
where: { slug: 'home' },
|
||||
include: {
|
||||
translations: true,
|
||||
sections: {
|
||||
orderBy: { order: "asc" }
|
||||
}
|
||||
}
|
||||
}).then(console.log).catch(console.error).finally(() => prisma.$disconnect());
|
||||
Reference in new issue
Block a user