SQLDelight
Realm
Our great sponsors
- Appwrite - The open-source backend cloud platform
- InfluxDB - Collect and Analyze Billions of Data Points in Real Time
- Onboard AI - Learn any GitHub repo in 59 seconds
SQLDelight | Realm | |
---|---|---|
31 | 48 | |
5,646 | 16,028 | |
1.9% | 0.2% | |
0.0 | 9.0 | |
3 days ago | 1 day ago | |
Kotlin | Objective-C | |
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.
SQLDelight
- 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
-
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
-
Flyweight: An ORM for SQLite
You would really like sqldelight[1] then. It takes the concept of an ORM and flips it on its head. Instead of mapping function calls to SQL statements, it lets you write SQL statements and then generates classes for you that have methods for those statements.
For instance, you could have a SQL statement like getCardsForFight: select * from fights where cardId = ? and titleFight = ?, and it would generate a class that has a method getCardsForFight(cardId: number, titleFight: number).
-
"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.
Realm
-
What is the best DB for offline-first?
Realm (Open Source but Sync is SaaS)
-
Realm Database, Expo SDK 49 and Expo Router Getting Started
Realm is a fast, scalable alternative to SQLite with mobile to cloud data sync that makes building real-time, reactive mobile apps easy.
-
Looking for android java developer mentor
I would focus on Kotlin instead of Java, there's really no point in sticking to Java at this point. And when it comes to databases, some local ones that are pretty easy to get into are Realm and ObjectBox, SQLite can definitely be a bit overwhelming at the beginning.
- Please help me out. Recently switched to M1 from intel. Getting error while running the build on simulator.
-
Is there something like SQLite for MongoDB?
Try Realm.
-
Want to build a simple database app....Where do I start
Just to add to this, there's also Realm and ObjectBox as alternatives.
-
Apple is rejecting apps that contain function names matching private APIs
I got a warning today when submitting my app that said I was using a private API function. Turns out they've essentially blacklisted certain function names that match anything in one of their private frameworks. Renaming functions (making a breaking change) is apparently necessary to avoid this: https://github.com/realm/realm-swift/pull/7951
-
Cracking the iOS Interview
Realm - Mobile database
-
Is it possible to bundle a SQlite database file into a ReactJS web application using webpack?
I found realm.io which seems neat but they don't have anything for web it seems. If I can't use an sqlite file in a react app does anyone know ways I can persist data on the client device? I'd rather avoid cookies and even local chrome storage.
What are some alternatives?
Exposed - Kotlin SQL Framework
GRDB.swift - A toolkit for SQLite databases, with a focus on application development
SwiftData
MMKV - An efficient, small mobile key-value storage framework developed by WeChat. Works on Android, iOS, macOS, Windows, and POSIX.
Realm Asset Helper - A small library to help with Realm.IO integration in Android apps
FMDB - A Cocoa / Objective-C wrapper around SQLite
UserDefaults - Simple, Strongly Typed UserDefaults for iOS, macOS and tvOS
Couchbase Mobile - Lightweight, embedded, syncable NoSQL database engine for iOS and MacOS apps.
SQLite.swift - A type-safe, Swift-language layer over SQLite3.
Ktorm - A lightweight ORM framework for Kotlin with strong-typed SQL DSL and sequence APIs.
jOOQ - jOOQ is the best way to write SQL in Java
ObjectBox embedded database - Swift database - fast, simple and lightweight (iOS, macOS)