https://github.com/Litote/kmongo
[deprecated] KMongo - a Kotlin toolkit for Mongo
https://github.com/Litote/kmongo
kotlin mongo
Last synced: 14 days ago
JSON representation
[deprecated] KMongo - a Kotlin toolkit for Mongo
- Host: GitHub
- URL: https://github.com/Litote/kmongo
- Owner: Litote
- License: apache-2.0
- Created: 2016-05-16T20:18:45.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2025-01-13T08:25:03.000Z (3 months ago)
- Last Synced: 2025-03-27T09:03:39.376Z (19 days ago)
- Topics: kotlin, mongo
- Language: Kotlin
- Homepage: https://litote.org/kmongo/
- Size: 2.97 MB
- Stars: 780
- Watchers: 13
- Forks: 74
- Open Issues: 43
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-mongodb - kmongo - Kotlin toolkit based on the Java driver (Libraries / Kotlin)
README
# KMongo is now deprecated : do not use it for a new project
Look at the [Deprecation notice](https://litote.org/kmongo)
[](https://gitter.im/kmongoo/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=body_badge)
[](https://maven-badges.herokuapp.com/maven-central/org.litote.kmongo/kmongo)
[](https://www.apache.org/licenses/LICENSE-2.0)
[](https://app.travis-ci.com/github/Litote/kmongo)
[](https://codebeat.co/projects/github-com-litote-kmongo-master)
[](https://codecov.io/gh/Litote/kmongo)
[](https://github.com/KotlinBy/awesome-kotlin)
[](https://kotlinlang.org/)
# [KMongo](https://litote.org/kmongo)
[](https://litote.org/kmongo)
## A Kotlin toolkit for MongoDocumentation: [https://litote.org/kmongo](https://litote.org/kmongo)
Forum: [https://groups.google.com/forum/#!forum/kmongo](https://groups.google.com/forum/#!forum/kmongo)
### Native and Lightweight
KMongo features are available via [Kotlin extensions](https://kotlinlang.org/docs/reference/extensions.html) -
you use transparently [the core MongoDB java driver API](https://www.mongodb.com/docs/drivers/java-drivers/)
(both sync and reactive streams (ie async) drivers are supported)#### With complete reactive streams & async support
You can use extensions for reactive streams style, [Kotlin Coroutines](https://kotlinlang.org/docs/reference/coroutines.html),
[Reactor](https://projectreactor.io/) or [RxJava2](http://reactivex.io/).### Built-in Object Mapping
Object oriented programming is usually better - use Objects, not Maps. Powered by the native
[POJO Codec](https://mongodb.github.io/mongo-java-driver/3.5/bson/pojos/), the
[Jackson library](https://github.com/FasterXML/jackson) or
[Kotlinx Serialization](https://github.com/Kotlin/kotlinx.serialization).### Type-safe queries
Have you already queried an ```Int``` field with a ```String``` value?
With KMongo type-safe queries, avoid the type errors.
Provided with an optional annotation processor.### Mongo shell queries
You can copy/paste your queries from the Mongo shell in your IDE. Write readable source code!
## Contributors
* [Deny Prasetyo](https://github.com/jasoet) (kmongo-coroutine)
* [Dilius](https://github.com/diliuskh) (kmongo-rxjava2)
* [Jocelyn Ntakpe](https://github.com/jntakpe) (kmongo-reactor)
* [Denis Kilchichakov](https://github.com/augur) (kmongo-coroutine)## Acknowledgment
KMongo uses an open source license gracefully provided by
![]()
for monitoring and profiling.