{"repo":"pointfreeco/sqlite-data","free":true,"listed":false,"github":"https://github.com/pointfreeco/sqlite-data","clone":"git clone https://github.com/pointfreeco/sqlite-data.git","description":"A fast, lightweight replacement for SwiftData, powered by SQL and supporting CloudKit synchronization.","language":"Swift","stars":1889,"topics":["persistence","sqlite","database","observation","swiftdata","swiftui","cloudkit","sql","synchronization"],"license":"MIT","category":"databases-storage","readme_excerpt":"SQLiteData A fast, lightweight replacement for SwiftData, powered by SQL and supporting CloudKit synchronization. Learn more Overview Quick start Performance SQLite knowledge required Overview Demos Documentation Installation Community License Learn more This library was motivated and designed over the course of many episodes on Point-Free, a video series exploring advanced programming topics in the Swift language, hosted by Brandon Williams and Stephen Celis. To support the continued development of this library, subscribe today. Overview SQLiteData is a fast, lightweight replacement for SwiftData, including CloudKit synchronization (and even CloudKit sharing), built on top of the popular [GRDB] library. To populate data from the database you can use @Table and @FetchAll , which are similar to SwiftData's @Model and @Query : SQLiteData SwiftData Both of the above examples fetch items from an external data store using Swift data types, and both are automatically observed by SwiftUI so that views are recomputed when the external data changes, but SQLiteData is powered directly by SQLite and is usable from UIKit, @Observable models, and more. For more information on SQLiteData's querying capabilities, see [Fetching model data][fetching-article]. Quick start Before SQLiteData's property wrappers can fetch data from SQLite, you need to provide–at runtime–the default database it should use. This is typically done as early as possible in your app's lifetime, like the app entry point","default_branch":null,"files":null,"tree":[],"storefront":"/r/pointfreeco","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/pointfreeco/sqlite-data/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}