From 0273016b7eab123c9d268aaf786f5d06f475903d Mon Sep 17 00:00:00 2001 From: Brandon Williams Date: Wed, 17 Sep 2025 12:17:02 -0500 Subject: [PATCH 1/4] Update readme to mention GRDB. --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bdc9b2b1..a00f9e00 100644 --- a/README.md +++ b/README.md @@ -35,8 +35,8 @@ library, [subscribe today](https://www.pointfree.co/pricing). ## Overview SQLiteData is a [fast](#performance), lightweight replacement for SwiftData, including CloudKit -synchronization (and even CloudKit sharing) that deploys all the way back to the iOS 13 generation -of targets. To populate data from the database you can use `@Table` and `@FetchAll`, which are +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`: @@ -336,6 +336,9 @@ for data and keep your views up-to-date when data in the database changes, and y [StructuredQueries][] to build queries, either using its type-safe, discoverable [query building APIs][], or using its `#sql` macro for writing [safe SQL strings][]. +Further, this library is built on the popular and battle-tested [GRDB] library for +interacting with SQLite, such as executing queries and observing the database for changes. + [StructuredQueries]: https://github.com/pointfreeco/swift-structured-queries [GRDB]: https://github.com/groue/GRDB.swift [query building APIs]: https://swiftpackageindex.com/pointfreeco/swift-structured-queries/~/documentation/structuredqueriescore From b7ffdc5bac418aaa2ff5576583723fc74d113c81 Mon Sep 17 00:00:00 2001 From: Brandon Williams Date: Wed, 17 Sep 2025 12:18:53 -0500 Subject: [PATCH 2/4] wip --- LICENSE | 1 + 1 file changed, 1 insertion(+) diff --git a/LICENSE b/LICENSE index 5b3cc706..8668db4e 100644 --- a/LICENSE +++ b/LICENSE @@ -19,3 +19,4 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + From e7d378c17942b38832128f47685bc9e40e399997 Mon Sep 17 00:00:00 2001 From: Brandon Williams Date: Wed, 17 Sep 2025 12:18:58 -0500 Subject: [PATCH 3/4] wip --- LICENSE | 1 - 1 file changed, 1 deletion(-) diff --git a/LICENSE b/LICENSE index 8668db4e..5b3cc706 100644 --- a/LICENSE +++ b/LICENSE @@ -19,4 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - From 9c8e160e6e9e43b6664051623267b0036abd55a5 Mon Sep 17 00:00:00 2001 From: Brandon Williams Date: Wed, 17 Sep 2025 12:21:26 -0500 Subject: [PATCH 4/4] wip --- Sources/SQLiteData/Documentation.docc/SQLiteData.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Sources/SQLiteData/Documentation.docc/SQLiteData.md b/Sources/SQLiteData/Documentation.docc/SQLiteData.md index c9a3bc32..81647ae7 100644 --- a/Sources/SQLiteData/Documentation.docc/SQLiteData.md +++ b/Sources/SQLiteData/Documentation.docc/SQLiteData.md @@ -6,8 +6,7 @@ synchronization. ## Overview SQLiteData is a [fast](#Performance), lightweight replacement for SwiftData, supporting CloudKit -synchronization (and even CloudKit sharing), that deploys all the way back to the iOS 13 generation -of targets. +synchronization (and even CloudKit sharing), built on top of the popular [GRDB] library. @Row { @Column { @@ -250,6 +249,11 @@ for data and keep your views up-to-date when data in the database changes, and y either using its type-safe, discoverable query building APIs, or using its `#sql` macro for writing safe SQL strings. +Further, this library is built on the popular and battle-tested [GRDB] library for +interacting with SQLite, such as executing queries and observing the database for changes. + +[GRDB]: https://github.com/groue/GRDB.swift + ## What is StructuredQueries? [StructuredQueries](https://github.com/pointfreeco/swift-structured-queries) is a library for