sqlite-data-usage-guide
Installation
SKILL.md
SQLiteData Usage Guide
SQLiteData is a fast, lightweight replacement for SwiftData from Point-Free, powered by SQL and supporting CloudKit synchronization (and even CloudKit sharing). It is built on top of GRDB and StructuredQueries.
Documented against: SQLiteData 1.11.0 / StructuredQueries 0.37.0 (August 2026). Platforms: iOS 16+, macOS 13+, tvOS 16+, watchOS 9+.
Key Dependencies
- GRDB: The underlying SQLite interface library. Used for database connections, transactions, migrations, and observation.
- StructuredQueries: Provides the
@Tablemacro and type-safe query building APIs. - Swift Dependencies: Used for dependency injection (
@Dependency,prepareDependencies).
Reference Files
Load these on demand for deeper topics: