SQLiteData provides type-safe SQLite access through Swift macros, simplifying database modeling and queries while handling CloudKit sync, migrations, and async patterns automatically.
ALWAYS load reference files if there is even a small chance the content may be required. It's better to have the context than to miss a pattern or make a mistake.
| Table Models | Defining tables with @Table, setting up primary keys, columns, or enums | | Queries - Basics | Using @FetchAll, @FetchOne, @Selection, filtering, ordering, or joins | | Queries - Advanced | Using @Fetch with FetchKeyRequest, dynamic queries, recursive CTEs, or direct reads |
Da utilizzare quando si lavora con la libreria SQLiteData (@Table, @FetchAll, @FetchOne macro) per persistenza SQLite, query, scritture, migrazioni o sincronizzazione del database privato CloudKit. Fonte: johnrogers/claude-swift-engineering.