Comment Comment by reidjs I started a toy project with the intention of using raw SQL, but I ended up starting to build my own ORM around all the models.If I have a User and who is trying to create a new Post, with Prisma you eventually set it up to do something like User.createPost(content).What does createPost method look like with raw SQL? Does it read in from a .sql file that you pass values to? parent reidjs 4 years ago
If I have a User and who is trying to create a new Post, with Prisma you eventually set it up to do something like User.createPost(content).
What does createPost method look like with raw SQL? Does it read in from a .sql file that you pass values to?