asciant
DTDrizzle Team
•Created by asciant on 12/2/2023 in #help
Drizzle within class (cannot read properties of undefined)
Hi everyone 👋 I'm in the process of moving my app over from Prisma to Drizzle and I encountered a minor issue that I'm hoping you can assist with. I created wrappers as models to use in my app and would interact with the DB through this abstration layer. However, my setup with Prisma does not seem to work with Drizzle, can anyone help to see where I'm going wrong.
I created a gist with some examples of both the Prisma model and the Drizzle model (https://gist.github.com/asciant/ea34c67fb56656f367183ce1f1069606), however when I try and use the model I recieve this error:
2 replies