mirror of
https://github.com/detleph/server.git
synced 2026-09-04 16:46:04 +02:00
17 lines
305 B
TypeScript
17 lines
305 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();
|
|
});
|