NestJS 㧠Prisma ãæ±ãã¨ããçºè¡ãããã¯ã¨ãªãã©ããªãã®ã追ãããã£ãã®ã§ããããããã®å
¬å¼ããã¥ã¡ã³ãã«ãæè¨ããã¦ããªãã£ãããåå¿é²ã§ãã ãªããå·çç°å¢ã®ä¾åã¢ã¸ã¥ã¼ã«ãã¼ã¸ã§ã³ã¯ä»¥ä¸ã®éãã§ãããã¼ã¸ã§ã³å·®ç°ã«ããä¸å
·åã¯ãäºæ¿ãã ããã "dependencies": { "@nestjs/common": "^8.0.0", "@nestjs/core": "^8.0.0", "@prisma/client": "^3.11.1", "prisma": "^3.11.1" } Prisma on NestJS ã®éå½¢ NestJS 㧠Prisma ãå©ç¨ããå ´åãã¤ã³ã¹ã¿ã³ã¹åãã以ä¸ã®æ§ã« service ã¨ãã¦å®ç¾©ãåã
ã® module ã§å©ç¨ãã¾ããDB æ¥ç¶ã試è¡ããã©ã¤ããµã¤ã¯ã«ã¤ãã³ãonModuleInitã®å®ç¾©ã¯ç¾å¨ãªãã·ã§ã³ã§ãããå¾ç¶è§£èª¬
{{#tags}}- {{label}}
{{/tags}}