Gitter Maven Central Apache2 license Build Status codebeat badge Awesome Kotlin Badge Pure Kotlin

KMongo

KMongo logo

A Kotlin toolkit for Mongo

Documentation: https://litote.org/kmongo

Forum: https://groups.google.com/forum/#!forum/kmongo

Native and Lightweight

KMongo features are available via Kotlin extensions - you use transparently the core MongoDB java driver API (both sync and async drivers are supported)

With complete async support

You can use extensions for classic callbacks style, Kotlin Coroutines or RxJava2.

Built-in Object Mapping

Object oriented programming is usually better - use Objects, not Maps. Powered by the native POJO Codec or by the Jackson library.

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

compile "org.litote.kmongo:kmongo:3.9.0"

Related Libraries

kuery

Last updated 3 mins ago

rxkotlin-jdbc

Last updated 3 mins ago

sqldelight

Last updated 3 mins ago

kotliquery

Last updated 3 mins ago

tekniq

Last updated 3 mins ago