generated from fahricansecer/boilerplate-be
12 lines
382 B
JavaScript
12 lines
382 B
JavaScript
const { PrismaClient } = require('@prisma/client');
|
|
const prisma = new PrismaClient();
|
|
|
|
async function main() {
|
|
const project = await prisma.project.findUnique({
|
|
where: { id: '686d6496-2963-4527-8703-02b843e50159' }
|
|
});
|
|
console.log("SOCIAL CONTENT:", JSON.stringify(project.socialContent, null, 2));
|
|
console.log("SEO:", project.seoTitle, project.seoKeywords);
|
|
}
|
|
main();
|