Skip to content

Commit a2c6ed7

Browse files
authored
(DOCSP-29260): Migrate from KMongo (#92)
# Pull Request Info [PR Reviewing Guidelines](https://github.com/mongodb/docs-java/blob/master/REVIEWING.md) JIRA - https://jira.mongodb.org/browse/DOCSP-29260 Staging - https://docs-mongodbcom-staging.corp.mongodb.com/kotlin/docsworker-xlarge/docsp-29260-migrate/migrate-kmongo/ ## Self-Review Checklist - [ ] Is this free of any warnings or errors in the RST? - [ ] Did you run a spell-check? - [ ] Did you run a grammar-check? - [ ] Are all the links working?
1 parent ffc3935 commit a2c6ed7

File tree

5 files changed

+529
-7
lines changed

5 files changed

+529
-7
lines changed

source/faq.txt

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,7 @@ developed by the MongoDB team and provides a native API for Kotlin
2525
applications to connect to MongoDB and work with data. It is implemented
2626
by wrapping the :driver:`MongoDB Java driver </java-drivers/>`.
2727

28-
`KMongo <https://litote.org/kmongo/>`__ is a popular community-developed library
29-
for working with MongoDB from Kotlin applications.
30-
It is also a wrapper around the Java driver.
31-
It was created prior to the creation of the official Kotlin driver to serve
32-
the needs of the Kotlin community.
28+
.. include:: /includes/kmongo-description.rst
3329

3430
The Kotlin driver was developed in collaboration with the creator of KMongo,
3531
Julien Buret, to give users an officially-supported driver.
@@ -48,11 +44,13 @@ key differences:
4844
- The official driver does *not* have built-in support for `reactor <https://projectreactor.io/>`__,
4945
`rxjava2 <https://github.com/ReactiveX/RxJava>`__, `Jackson <https://github.com/FasterXML/jackson>`__,
5046
or `GSON <https://github.com/google/gson>`__.
51-
- The official driver does not support MongoDB shell commands.
47+
- The official driver does *not* support MongoDB shell commands.
5248
- The official driver supports type-safe queries with the Builders API,
5349
whereas KMongo uses infix functions and property references for
5450
type-safe queries.
5551

52+
For more detailed information, see :ref:`Migrate from KMongo <kotlin-migrate-kmongo>`.
53+
5654
.. _kotlin-faq-connection-pool:
5755

5856
How Does Connection Pooling Work in the Kotlin Driver?
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
`KMongo <https://litote.org/kmongo/>`__ is a popular community-developed library
2+
for working with MongoDB from Kotlin applications.
3+
It is also a wrapper around the Java driver.
4+
It was created prior to the creation of the official Kotlin driver to serve
5+
the needs of the Kotlin community. As of July 2023, it has been marked as deprecated.

source/index.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ MongoDB Kotlin Driver
1616
/connection-troubleshooting
1717
/issues-and-help
1818
/compatibility
19+
/migrate-kmongo
1920
View the Source <https://github.com/mongodb/mongo-java-driver>
2021

2122
Introduction

0 commit comments

Comments
 (0)