Closed damarsimple closed 2 years ago
Actually the skeleton app already using objection.js for ORM.
for example is User model in app/Model
folder.
I never use prisma before, but if it better than objection.js, maybe we can refactor the Base Model to use prisma instead.
For additional info, lunox migration is using knex. You can check by run artisan
pnpm artisan make:migration create_some_table
So if we change to prisma, we should change current migration command too
i guess i just gonna lookup how the current ORM works before thinking of the possibilty of adding prisma to this project.
Thank you for replying
I believe this frameworks main goals to be Laravel of NodeJS right?
currently i don't see any Eloquent Query Builder like ability on this framework.
This is why i propose Prisma support as replacement for the query builder. although im not sure what is your current plant for building the query builder. i believe this is gonna be beneficial to the project.
Pros :
Cons :
i might be wrong, but please do correct me.