Using Rust free Prisma with Mongo
Is there any plan to add a database adapter for mongo in order to be able to use Prisma rust free with mongo
4 Replies
You chose to compile with the bot. One moment while I piece together your answer…
Short answer: There’s no mention in the provided sources of a Rust‑free driver adapter for MongoDB.
What we do know from the sources:
- The Rust‑free architecture (queryCompiler + driver adapters) initially targeted SQL databases (PostgreSQL, MySQL/MariaDB, SQLite, SQL Server, CockroachDB) and serverless drivers (Neon, PlanetScale, D1). MongoDB is not listed among supported adapters or databases for the no‑Rust setup in the docs. [Database drivers; No Rust engine.]
- Earlier posts describe enabling the Rust‑free path with driver adapters for SQL backends and do not include MongoDB. [Deployment; Early access blog; Performance blog.]
- Prisma’s Rust‑free architecture and the new ESM‑first generator are now GA, but the “no Rust engine” docs still don’t list MongoDB among supported databases/adapters. [Rust-free GA; No Rust engine; Database drivers.]
- Prisma has GA support for MongoDB in general (with the traditional architecture), but nothing in the sources confirms a Rust‑free Mongo adapter or timeline. [MongoDB GA.]
- A recent roadmap issue mentions MongoDB support is actively in development for the new architecture and expected shortly after others, but it doesn’t
explicitly say “driver adapter” or give a date. [Roadmap (Jun–Aug 2025).]
So, based on these sources: Prisma supports MongoDB today (classic path), but there’s no documented Rust‑free driver adapter for MongoDB yet. The roadmap suggests MongoDB support for the new architecture is in progress, but no explicit adapter or release date is provided in the docs you shared. [MongoDB GA; Roadmap (Jun–Aug 2025).]
🤔 Alright, thanks for letting us know that there's still some help needed. A team member will reply to you shortly.
In the meantime, please let us know any additional info, questions, or which parts of the answer may need clarification.
In future we would like to tackle it, not immediately on roadmap for Prisma 7
😭
Quite unfortunate.
MongoDB is quite popular, really wondering why it was left out from the rust-free release