#243243rd of 320 in Backends, databases and hosting
sqlite-data
Swift SQLite persistence library replacing SwiftData, with CloudKit sync
- Stars
- 2k
- License
- MIT
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- Swift
1,772 on 30 Apr 20261,964 on 19 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
SQLiteData is a Swift package built on GRDB and StructuredQueries that gives Apple-platform apps a SwiftData-like API (@Table, @FetchAll, @FetchOne) over a local SQLite database. A SyncEngine can replicate selected tables to CloudKit, including record sharing between iCloud users. It works from SwiftUI, UIKit and @Observable models. It is not an AI project and has no AI features.
Who it is for: Swift developers on Apple platforms needing SQLite with optional CloudKit sync
Strengths
- CloudKit sync and sharing via a SyncEngine configured per table
- Decoding benchmarks near raw SQLite C calls, ahead of GRDB Codable in the README
- Type-safe query builder plus #sql macro; works in SwiftUI, UIKit and @Observable
- Includes example apps: Reminders, SyncUps, CloudKitDemo and case studies
Weaknesses
- Swift and Apple platforms only; CloudKit sync ties data to iCloud
- Expects working SQLite knowledge: schema design, joins, migrations and indices
- Not an AI project; fits this list only as an app persistence layer
- You create and migrate the database yourself; no automatic schema as in SwiftData
What it needs
- no GPU
- Needs GRDB, StructuredQueries, CloudKit (optional sync)
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Known problems
Open now, reported in the last 90 days
Reported, then fixed by a linked change
- sqlite-data 1.11.1 does not compile against swift-structured-queries 0.38.0 ↗ (opens in a new tab)1 reactions · closed 29 Aug 2026Fixed by StructuredQueries 0.38 support ↗ (opens in a new tab)
- Bug: Potentially missing availability guard for `participantAlreadyInvited` error code ↗ (opens in a new tab)1 reactions · closed 28 Dec 2025Fixed by Fix Xcode 16 builds ↗ (opens in a new tab)
- Main build with SQLiteDataTagged broke after InternalImportsByDefault ↗ (opens in a new tab)0 reactions · closed 6 Jun 2026Fixed by Fix compile error by making Tagged import public ↗ (opens in a new tab)
- Invalid assertion or invalid sync engine access when sync engine isn't started ↗ (opens in a new tab)0 reactions · closed 19 Feb 2026Fixed by Fix SyncEngine warning. ↗ (opens in a new tab)
- Concurrent access to database with metadatabase enabled causes "database is locked" exception ↗ (opens in a new tab)0 reactions · closed 10 Feb 2026Fixed by Change write connection to read connection in attachMetadatabase ↗ (opens in a new tab)
Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.
Also in Backends, databases and hosting
See all 320| Rank | Project | Score |
|---|---|---|
| 1 | bunJavaScript and TypeScript runtime with bundler, test runner and package manager | 94 out of 100 |
| 2 | filamentLaravel framework for admin panels, CRMs and internal business apps | 94 out of 100 |
| 3 | coolifySelf-hosted Heroku and Vercel alternative that deploys apps and databases over SSH | 93 out of 100 |
| #4 | traefikHTTP reverse proxy and load balancer that auto-discovers routes from orchestrators | 93 out of 100 |
| #5 | appwriteBackend with auth, databases, storage, functions and an MCP server for agents | 93 out of 100 |