flash-oss / medici

Double-entry accounting system for nodejs + mongoose
MIT License
307 stars 84 forks source link

Database independent - using ORM https://www.prisma.io/ #64

Closed indrajitsinh closed 2 years ago

indrajitsinh commented 2 years ago

Thank you for your hard efforts, it's an amazing project

https://www.prisma.io/ - supports a lot of databases and it would be amazing to use such ORM and make this project independent from the underlying database

koresar commented 2 years ago

We're glad you liked it! We're happy to receive your pull request with such a great feature.

Uzlopak commented 2 years ago

Yeah, probably a good move.Should still make a benchmark regarding performance.

If you use old mongodb driver like 3.0.2 then you are like 5 times faster than using the latest driver. Really sad.

koresar commented 2 years ago

We have quite some performance MongoDB optimisations done within this project. Moving to Prisma sounds like a task which is very hard to pull off.

I'll close this issue for now. But still waiting for other people contributions.