Download apps/server/src/prisma/prisma.service.ts from fukeke/rss: direct link, hf CLI and curl.
- Browser
- Download file 253 Bytes
-
https://huggingface.co/spaces/fukeke/rss/resolve/main/apps/server/src/prisma/prisma.service.ts
- Command line
-
hf download hf://spaces/fukeke/rss/apps/server/src/prisma/prisma.service.ts
-
curl -L -o prisma.service.ts https://huggingface.co/spaces/fukeke/rss/resolve/main/apps/server/src/prisma/prisma.service.ts
253 Bytes
| import { Injectable, OnModuleInit } from '@nestjs/common'; | |
| import { PrismaClient } from '@prisma/client'; | |
| () | |
| export class PrismaService extends PrismaClient implements OnModuleInit { | |
| async onModuleInit() { | |
| await this.$connect(); | |
| } | |
| } | |