sqldelight/sqldelight
View on GitHub ↗ ★ 6,903 Kotlin
SQLDelight - Generates typesafe Kotlin APIs from SQL
6 mentions on Hacker News by 6 people: 0 stories, 6 comments · first 2020-08-13 · latest 2024-09-10
20082026
-
Yep sqlc is more akin to Kotlin's SQLDelight https://github.com/cashapp/sqldelight
comment by refset · 2024-09-10 · in Sqlc: Compile SQL to type-safe code -
JVM/Kotlin ecosystem has a similar approach with SqlDelight - https://github.com/cashapp/sqldelight . I've been using it for a while and it's quite nice to use.
comment by madisp · 2024-04-09 · in Flyweight: A Node.js ORM Specifically for SQLite -
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…
comment by foolswisdom · 2023-12-15 · in querky – autogenerate Python functions and types for your SQL queries -
…would generate a class that has a method getCardsForFight(cardId: number, titleFight: number). [1]: https://github.com/cashapp/sqldelight
comment by uup · 2022-09-29 · in Flyweight: An ORM for SQLite -
…Data is sometimes a fine choice. [1] https://en.wikipedia.org/wiki/Enterprise_Objects_Framework [2] https://github.com/cashapp/sqldelight
comment by sradman · 2020-12-22 · in The Laws of Core Data -
Yeah this approach is definitely way nicer with some tooling support. For example https://github.com/cashapp/sqldelight for Kotlin integrates with IntelliJ to provide ctrl+click navigation (see gif in their readme), and…
comment by stux · 2020-08-13 · in Simple SQL in Python