çSQLãæ±ã $queryRaw TypeScriptåãã®ORMã©ã¤ãã©ãªã¨ãã¦Prismaãããã¾ããPrismaã¯ç´æçã§åå®å ¨ãªAPIãæä¾ããTypeScriptåãã®ORMã¨ãã¦ã¯ç¬¬ä¸ã«ååãä¸ãããã¨ãå¤ãã©ã¤ãã©ãªã§ãã ããããããªäººæ°ãªPrismaã§ããè£å´ã§ã¯å°ãã¯ã»ã®ããSQLãçºè¡ããã¦ãããã欲ããSQLãPrismaã®APIã§ã¯å®ç¾ã§ããªãå ´åãããã¾ãã ãããã£ãå ´åã®ããã« $queryRaw ã¨ããã¡ã½ãããç¨æããã¦ãããããã使ããã¨ã§çSQLãæ¸ãã¦ãã®çµæãåãåããã¨ãã§ãã¾ãããä»ã®ORMã«ãããããæ©è½ã§ãã ä¾ãã°ä»¥ä¸ã®ããã«å®è£ ãããã¨ãã§ãã¾ãã const users = await prisma.$queryRaw` SELECT id, name FROM "Users" WHERE id = ${userID} `; co
{{#tags}}- {{label}}
{{/tags}}