official Dart driver
We use mongo in weebi Dart / Flutter application.
We would be eternally grateful if you could implement an official Dart Driver,
There is already an unofficial mongo dart repo :
https://github.com/mongo-dart
The specific feature we need is Ejson
https://github.com/mongo-dart/bson/issues/29
Thank you for building a great tool
Thank you for your feedback. We are currently considering this project. If you would like to add more specific feedback about your use case/needs, please reach out via email.
-
Delwin commented
Hey, I'm building an important project and am looking to use MongoDB as Backend. Could there be any update regarding official implementation of mongo-drivers for dart? I'm unsure if I could trust the unofficial one.
-
AdminAshni (Admin, MongoDB) commented
Hi all, as mentioned below, this work remains under consideration. We remain excited about Dart as a language and will continue to track its evolution. In the meantime, there are other ways to use MongoDB with Dart:
- use the Flutter SDK with client-side or endpoint Flutter applications
- use another community Dart driver, mongo-dart
- Use the Atlas Data API -
San commented
Just a quick update for those who did not participate.
They ran a little user interview a few months ago and decided that this has not yet been the time to undertake the project. (It is probably never will, my guess.)
They would probably keep this thread around but don't get your hopes up. Unless something drastically changes in the ecosystem or internally at MongoDB Inc., the decision will unlikely change.
We still have community-developed drivers, though.
-
falseintention commented
Hello,
Dart is getting stronger in the backend and we want it to get the support of MongoDB. It will make a great match for static typed full-stack technology when combined with Flutter.
-
Daniel commented
This is one of the few things we're waiting for to being developing back-end services in dart. It's been under review for a while new, any updates?
-
Abhay commented
It would be great if you can also add widgets like FirestoreListView that will take care of pagination or cursor on scrolling. I have implemented this feature but it would be great if such features/widgets are made available officially by MongoDB team. Third party packages like mongo_dart are useful but cannot be relied on for long.
-
Pablo Larraondo commented
Flutter is a great and popular solution for developing mobile and web apps. Being able to use mongoDB would be fantastic, so I strongly encourage the MongoDB team to consider the addition of Dart as one of the supported languages.
Due to the unofficial mongo_dart not supporting the 'web' backend we cannot use mongoDB in our application, which would be our first preference.
-
Francesco commented
We are in the same needs as posted by Rui. We need Mongo - Dart drivers (NOT Realm drivers) able to do such things or we will be forced to redirect our db logic towards other NoSql providers, and this would be a shame... MongoDb is so good and it's a pity to not use it, but business is business, you know...
-
Raveesh commented
dart is as promising on the backed as is on the frontend. Having a high quality dart driver for mongo will defiitely be helpful
-
Vikas Pachar commented
Mongodb is great and so is flutter. I assume you are aware of it. Many people have switched to flutter for creating either multi-platform apps or beautiful UI apps. Previously javascript was used for creating multi-platform apps but nowadays flutter is beating every js framework whether it is react native, electron, tauri or something else. The thing that makes developer still choose Javascript is the widely available native database drivers. It helps people creating the frontend and backend in same Javascript language. I love dart and create every app with flutter but I have to create the backend with NodeJS. This is difficult to work with two general purpose languages in parallel. So please create official MongoDB database driver for dart. It will help us considering dart for backend as well.
This is very important for MongoDB also because Flutter is used for all platforms (Android, iOS, Web, Linux, Windows, macOS and in future, Fuchsia also.) apps. Firebase is also creating driver for desktop.
-
Haim M. Ben Haim commented
hi, I saw you released a realm db for dart and flutter apps, what about official mongo db drive to connect to server side mongo instance, I think tones if peoples want this feature, Firestone got an amazing sdk but if I don't want to switch to Firestore I need really good driver for this.
thank you -
San commented
Rachelle you are probably posting the reply to the wrong thread.
The OP clearly state "Mongo" driver as he also mentioned a community-maintained driver as an example.
But the repository you posted is "Realm" driver, which is not the same product. -
Fran commented
Hello Rachelle, If I understand, realm is a mobile database, while dart driver allows you to connect to a MongoDB instance on the server-side. How is this related? Thank you.
-
Hello all, this has been released - please check it out and let us know your feedback. https://github.com/realm/realm-dart
-
Fran commented
Any update about this? A huge army of dart/flutter devs are waiting for this :) Thank you.
-
lucas commented
I also suggest release a dart driver. Its important if MongoDB wants to increase its presence in cross-platform mobile applications.