kotlin-jpa-specification-dsl
SQLDelight
kotlin-jpa-specification-dsl | SQLDelight | |
---|---|---|
1 | 33 | |
249 | 6,221 | |
0.8% | 0.6% | |
0.0 | 9.3 | |
about 3 years ago | 10 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.
kotlin-jpa-specification-dsl
-
What is the Specification Pattern
If you are using Kotlin, kotlin-jpa-specification-dsl provides a very convenient way to generate Specifications from KPropertys.
SQLDelight
- Sqlc: Compile SQL to type-safe code
-
querky – autogenerate Python functions and types for your SQL queries
This seems to be similar to https://github.com/cashapp/sqldelight, and I've always wanted a python equivalent!
In typescript, there are query builders (not talking about ORMs) that can basically do this within the type system, but that would be infeasible in python's type system. This approach (type/code generation is a good alternative, though I like using sqlalchemy / alembic to manage schemas/migrations.
One thing I'm curious about is how it knows the types of columns? I looked quickly at the Readme but didn't see it (probably a parameter somewhere I missed).
- I'm creating a REST API using KTOR. What's the best ORM to go with KTOR ?
-
KMM alternatives to Android Datastore & Room DB?
That functionality has existed for almost exactly a year
-
What were your negative experiences when adopting KMM?
- SQLDelight - great experience overall, the only issue that I found, was when that I made a database migration that worked on Android, but not on iOS (https://github.com/cashapp/sqldelight/issues/3812)
-
Adopting Kotlin Multiplatform Mobile(KMM) on 9GAG App
Database - SQLDelight
-
Android Starter Template (hilt, ktor, coroutines, flow, modules, gradle.kts, version catalog, compose, MVVM, tests, GitHub CI)
room is a great example but like I said our data is kotlin-only so we tend to use libraries like sqlDelight.
-
Announcing new crate - "hugsqlx": turning SQLx queries into Rust functions
This seems similar to https://cashapp.github.io/sqldelight/ for kotlin, I think this approach is pretty neat, good luck with it!
-
ADVICE WANTED - Typescript PostgreSQL without ORM
Sounds like you want what SQLDelite offers, but for TypeScript. SQLDelite is only for Kotlin and SQLite though.
-
Why We're Moving on from Firebase
SQLDelight had neat built in support for this
https://cashapp.github.io/sqldelight/
What are some alternatives?
requery - requery - modern SQL based query & persistence for Java / Kotlin / Android
Exposed - Kotlin SQL Framework
Realm Asset Helper - A small library to help with Realm.IO integration in Android apps
Ktorm - A lightweight ORM framework for Kotlin with strong-typed SQL DSL and sequence APIs.
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.
jOOQ - jOOQ is the best way to write SQL in Java
kt-postgresql-async - Kotlin 1.1 async clients for sync protocols: Mysql, Postgres, Thrift, Http
RoomAsset - A helper library to help using Room with existing pre-populated database [DEPRECATED].
kmongo - [deprecated] KMongo - a Kotlin toolkit for Mongo
Realm - Realm is a mobile database: a replacement for Core Data & SQLite