Ktorm
SQLDelight
Our great sponsors
Ktorm | SQLDelight | |
---|---|---|
2 | 21 | |
1,415 | 4,667 | |
5.6% | 2.4% | |
9.1 | 9.0 | |
16 days ago | 4 days ago | |
Kotlin | Kotlin | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Ktorm
-
jOOQ 3.17.0 release with client side computed columns, audit columns, pattern matching, reactive transactions and kotlin coroutine support
I mean, I'm looking at this, for example: https://github.com/kotlin-orm/ktorm/tree/master/ktorm-core/src/main/kotlin/org/ktorm/dsl, so I wonder, what would be gained from a matrix?
-
Performance Improvements in .NET 6
First google hit for "Kotlin ORM": https://github.com/kotlin-orm/ktorm
SQLDelight
-
Kotlin and JPA
SQLDelight + Kotlin is a match made in heaven. Plus it's much nicer than having to mess with any ORM https://github.com/cashapp/sqldelight
-
"ORMs have a special place in my heart, not entirely unlike Brutus and Caesar: a dear friend who betrays you and leaves you to die a slow, painful death." – Taming SQL and ORMs with sqlc
SqlDelight is an equivalent library in the Kotlin/JVM ecosystem that follows the same philosophy (write queries in SQL and generate code from them rather than the opposite approach taken by typical ORMs).
The only reason I haven't tested SQLDelight a lot is because they haven't implemented a way to "rename" a table when generating the classes, so if your table is called players... well, now all of the generated classes will also be named Players, which is super annoying.
- Just released the first SQLDelight 2.0 alpha
-
How do you guys go about the persistence layer?
Something I'll add because it hasn't been mentioned yet is sqldelight.
-
Getting Started With Kotlin Multiplatform Mobile
Some Libraries That Work Really Well SQLDelight as the name implies, this library is for dealing with SQL on all platforms that KMM supports. It's somewhat easy to use and works extremely reliable, plus has a very active community.
-
What are the most common used (3rd party) libraries and frameworks used in Android development?
Persistence: Room, SqlDelight
-
Do you use kotlin/js?
Now if you're just writing a crud app (what my hobby project is) and you use compose multiplatform for your UI, SQLDelight for persistence, and one of the many MPP architecture libraries, you don't have to write a wrapper.
-
Creating a type-safe WHERE clause DSL using Kotlin
I did not know about SQLDelight! Thanks for sharing that. I just took a quick look at it. From what I saw, it might not work for my use case. But I'm not 100% sure unless I spend a few hours actually trying it out. I'm building a library where the database tables are already defined by the system. I'm talking about the Contacts Provider. Let me know if you think that it's possible. Otherwise, I'll give it a try when I miraculously get some free time lol.
-
Odd request - need an ear. Updating to Room from direct SQLite code..
may i suggest instead: SQLDelight
What are some alternatives?
Exposed - Kotlin SQL Framework
Realm Asset Helper - A small library to help with Realm.IO integration in Android apps
RoomAsset - A helper library to help using Room with existing pre-populated database [DEPRECATED].
jOOQ - jOOQ is the best way to write SQL in Java
DBFlow - A blazing fast, powerful, and very simple ORM android database library that writes database code for you.
ObjectBox Java (Kotlin, Android) - Fast lightweight Java Database for storing and syncing objects in Mobile & IoT
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.
Ebean ORM - Ebean ORM
requery - requery - modern SQL based query & persistence for Java / Kotlin / Android
MapDB - MapDB provides concurrent Maps, Sets and Queues backed by disk storage or off-heap-memory. It is a fast and easy to use embedded Java database engine.
Nitrite Database - Java embedded nosql document store