Switch from mongodb to ODM #9

Open
opened 2025-08-25 02:29:57 +02:00 by VityaSchel · 0 comments
VityaSchel commented 2025-08-25 02:29:57 +02:00 (Migrated from github.com)

Until Drizzle ORM adds MongoDB (which won't happen very soon) we have to either use

  • Official raw mongodb — zero type safety, zero validation, no schema, no migrations (current)
  • Well-established mongoose — ancient, somewhat type safe but still sucks. on the other hard it's more lightweight than Prisma
  • Prisma — modern, typesafe, fast, but so much worse than Drizzle and 5 times larger than it, I feel like this would be an overkill

I might as well just deprecate MongoDB and drop support for it :/

Until Drizzle ORM adds MongoDB (which [won't happen very soon](https://redirect.github.com/drizzle-team/drizzle-orm/issues/2377)) we have to either use - Official raw mongodb — zero type safety, zero validation, no schema, no migrations (current) - Well-established mongoose — ancient, somewhat type safe but still sucks. on the other hard it's more lightweight than Prisma - Prisma — modern, typesafe, fast, but so much worse than Drizzle and 5 times larger than it, I feel like this would be an overkill I might as well just deprecate MongoDB and drop support for it :/
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: hloth/lufin#9
No description provided.