@@ -25,11 +25,7 @@ developed by the MongoDB team and provides a native API for Kotlin
25
25
applications to connect to MongoDB and work with data. It is implemented
26
26
by wrapping the :driver:`MongoDB Java driver </java-drivers/>`.
27
27
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
33
29
34
30
The Kotlin driver was developed in collaboration with the creator of KMongo,
35
31
Julien Buret, to give users an officially-supported driver.
@@ -48,11 +44,13 @@ key differences:
48
44
- The official driver does *not* have built-in support for `reactor <https://projectreactor.io/>`__,
49
45
`rxjava2 <https://github.com/ReactiveX/RxJava>`__, `Jackson <https://github.com/FasterXML/jackson>`__,
50
46
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.
52
48
- The official driver supports type-safe queries with the Builders API,
53
49
whereas KMongo uses infix functions and property references for
54
50
type-safe queries.
55
51
52
+ For more detailed information, see :ref:`Migrate from KMongo <kotlin-migrate-kmongo>`.
53
+
56
54
.. _kotlin-faq-connection-pool:
57
55
58
56
How Does Connection Pooling Work in the Kotlin Driver?
0 commit comments