mirror of
https://github.com/detleph/server.git
synced 2026-09-04 16:46:04 +02:00
16 lines
298 B
TypeScript
16 lines
298 B
TypeScript
import { PrismaClient } from '@prisma/client'
|
|
|
|
const prisma = new PrismaClient()
|
|
|
|
async function main() {
|
|
// ... you will write your Prisma Client queries here
|
|
console.log("Hello world!!")
|
|
}
|
|
|
|
main()
|
|
.catch((e) => {
|
|
throw e
|
|
})
|
|
.finally(async () => {
|
|
await prisma.$disconnect()
|
|
}) |