@vnodes/prisma
v0.1.1
Published
@vnodes/prisma
Readme
@vnodes/prisma
Nestjs | Prisma Orm module
Installation
pnpm add @vnodes/prismaExample
@Module({
import:[
PrismaModule.forRoot()
]
})
export class AppModule { }
@Module({
import:[
PrismaModule.forFuture(['user', 'role', 'permission'])
]
})
export class UserModule { }
@Injectable()
export class UserService {
constructor(@InjectDelegate('user') protected readonly userDelegate:Prisma.UserDelegate){}
}💖 Support My Work
If you find my open-source contributions or the @vnodes/prisma project helpful, consider supporting my work. Your sponsorship helps me maintain these projects and explore new enterprise patterns.
