Kotlin Database

Open-source Kotlin projects categorized as Database

Top 23 Kotlin Database Projects

  • Exposed

    Kotlin SQL Framework

    Project mention: Database Testing with Testcontainers and Kotlin Exposed ORM | dev.to | 2023-06-29

    object TestDatabase { private val mySQLContainer: MySQLContainer = MySQLContainer("mysql:8.0.26").apply { withDatabaseName("test-db") withUsername("test-user") withPassword("test-password") start() // Start the container } init { val config = HikariConfig().apply { jdbcUrl = mySQLContainer.jdbcUrl username = mySQLContainer.username password = mySQLContainer.password driverClassName = "com.mysql.cj.jdbc.Driver" maximumPoolSize = 10 } val dataSource = HikariDataSource(config) // This doesn't connect to the database but provides a descriptor for future use // In the main app, we would do this on system start up // https://github.com/JetBrains/Exposed/wiki/Database-and-DataSource Database.connect(dataSource) // Create the schema transaction { SchemaUtils.create(Users) } } }

  • SQLDelight

    SQLDelight - Generates typesafe Kotlin APIs from SQL

    Project mention: I'm creating a REST API using KTOR. What's the best ORM to go with KTOR ? | /r/Kotlin | 2023-05-28
  • Appwrite

    Appwrite - The open-source backend cloud platform. Add Auth, Databases, Functions, and Storage to your product and build any application at any scale while using your preferred coding languages and tools.

  • Ktorm

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

    Project mention: How are you all handling database persistence? | /r/Kotlin | 2023-03-22
  • jasync-sql

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

  • Glance

    A simple and handy Android database debugging library.

  • android_dbinspector

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

  • kmongo

    [deprecated] KMongo - a Kotlin toolkit for Mongo

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • realm-kotlin

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

  • krush

    Idiomatic persistence layer for Kotlin

  • 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.

  • kotlin-nosql

    NoSQL database query and access library for Kotlin

  • kwery

    Kwery is an SQL library for Kotlin

  • kotliquery

    A handy Database access library in Kotlin

  • vaadin-on-kotlin

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

    Project mention: Tutorial: Deploying Kotlin desktop apps that embed Chromium, with Conveyor | /r/Kotlin | 2023-03-25

    For the JVM there is a framework which allows you to fully drive the frontend from the backend by sending fragments of HTML to partially update the view. It's based on the open web components (using Lit), so easy to extend a. One of the developer has also implemented a version in Kotlin UI DSL

  • RoomAsset

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

  • zeko-sql-builder

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

  • laravel-query-intellij

    💿 Laravel Query Builder integration for PhpStorm

  • fluid-mongo

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

  • kt-postgresql-async

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

  • jds

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

  • levelkt

    LevelDB client for Kotlin and/or Java 8+

  • logikaldb

    Foundational reactive logical database

  • neo4k

    A type-safe Cypher DSL written in Kotlin

    Project mention: Cypher DSL for Kotlin | /r/Kotlin | 2023-01-17
  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.

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 2023-06-29.

Kotlin Database related posts

Index

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

Project Stars
1 Exposed 7,583
2 SQLDelight 5,617
3 Ktorm 1,874
4 jasync-sql 1,593
5 Glance 959
6 android_dbinspector 940
7 kmongo 789
8 realm-kotlin 742
9 krush 247
10 kotlin-jpa-specification-dsl 238
11 kotlin-nosql 210
12 kwery 202
13 kotliquery 194
14 vaadin-on-kotlin 177
15 RoomAsset 135
16 zeko-sql-builder 93
17 laravel-query-intellij 46
18 fluid-mongo 31
19 kt-postgresql-async 23
20 jds 21
21 levelkt 14
22 logikaldb 10
23 neo4k 4
Learn any GitHub repo in 59 seconds
Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.
getonboard.dev