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 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