Kotlin Database

Open-source Kotlin projects categorized as Database

Top 22 Kotlin Database Projects

  • GitHub repo Exposed

    Kotlin SQL Framework (by JetBrains)

    Project mention: What's your go-to web backend stack for 2021 ? | reddit.com/r/Kotlin | 2021-02-23
  • GitHub repo SQLDelight

    SQLDelight - Generates typesafe Kotlin APIs from SQL

    Project mention: Please feel free to upvote this feature request, if you love to see android Room Relation annotation having sorting feature. | reddit.com/r/androiddev | 2021-03-30

    Use SQLDelight! You just write SQL and let the library generate DAOs for you. Anything that's supported by SQL is automatically supported by SQLDelight.

  • GitHub repo jasync-sql

    Java & Kotlin Async DataBase Driver for MySQL and PostgreSQL written in Kotlin

  • GitHub repo android_dbinspector

    Android library for viewing, editing and sharing in app databases.

    Project mention: When you create a database using Room, where exactly is the sqlite file stored? | reddit.com/r/androiddev | 2021-02-04

    That depends on the explorer, but mostly no. You can use Device explorer from Android Studio or Database Inspector to access it while debugging. Also you can use an Android library to preview and edit it. https://github.com/infinum/android_dbinspector

  • GitHub repo Ktorm

    A lightweight ORM framework for Kotlin with strong-typed SQL DSL and sequence APIs.

  • GitHub repo kmongo

    KMongo - a Kotlin toolkit for Mongo

  • GitHub repo kotlin-jpa-specification-dsl

    This library provides a fluent DSL for querying spring data JPA repositories using spring data Specifications (i.e. the JPA Criteria API), without boilerplate code or a generated metamodel.

    Project mention: What is the Specification Pattern | reddit.com/r/programming | 2021-03-04

    If you are using Kotlin, kotlin-jpa-specification-dsl provides a very convenient way to generate Specifications from KPropertys.

  • GitHub repo kotlin-nosql

    NoSQL database query and access library for Kotlin

  • GitHub repo kwery

    Kwery is an SQL library for Kotlin

  • GitHub repo kuery

    Strongly typed SQL in Kotlin

  • GitHub repo krush

    Idiomatic persistence layer for Kotlin

  • GitHub repo realm-kotlin

    Kotlin Multiplatform and Android SDK for the Realm Mobile Database: Build Better Apps Faster.

  • GitHub repo kotliquery

    A handy Database access library in Kotlin

  • GitHub repo vaadin-on-kotlin

    Writing full-stack statically-typed web apps on JVM at its simplest

  • GitHub repo RoomAsset

    A helper library to help using Room with existing pre-populated database [DEPRECATED].

  • GitHub repo fluid-mongo

    Kotlin coroutine support for MongoDB built on top of the official Reactive Streams Java Driver

  • GitHub repo zeko-sql-builder

    Zeko SQL Builder is a high-performance lightweight SQL query library written for Kotlin language

  • GitHub repo kt-postgresql-async

    Kotlin 1.1 async clients for sync protocols: Mysql, Postgres, Thrift, Http

  • GitHub repo laravel-query-intellij

    🧩 Laravel Query Builder integration for PhpStorm

    Project mention: Laravel Query - database integration plugin for PhpStorm | reddit.com/r/laravel | 2021-03-15
  • GitHub repo jds

    Jenesis Data Store: a dynamic, cross platform, high performance, ORM data-mapper. Designed to assist in rapid development and data mining

  • GitHub repo levelkt

    LevelDB client for Kotlin and/or Java 8+

  • GitHub repo hibernate-minimal-logger

    Library to enable minimal statistical recording of database queries

    Project mention: Database Query Statistics | dev.to | 2021-01-26

    Library link here

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-03-30.


What are some of the best open-source Database projects in Kotlin? This list will help you:

Project Stars
1 Exposed 5,032
2 SQLDelight 3,866
3 jasync-sql 1,103
4 android_dbinspector 879
5 Ktorm 872
6 kmongo 477
7 kotlin-jpa-specification-dsl 203
8 kotlin-nosql 203
9 kwery 202
10 kuery 199
11 krush 186
12 realm-kotlin 165
13 kotliquery 151
14 vaadin-on-kotlin 141
15 RoomAsset 138
16 fluid-mongo 26
17 zeko-sql-builder 24
18 kt-postgresql-async 22
19 laravel-query-intellij 16
20 jds 13
21 levelkt 12
22 hibernate-minimal-logger 1