mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-26 04:07:50 +00:00
Wording
This commit is contained in:
1 parent
bb01da7635
commit
863a762eca
1 file changed
+1
-1
@@ -113,7 +113,7 @@ let players = try Player.fetchAll(db)
|
||||
|
||||
**Fetched records behave just like an in-memory cache of the database content.** Your application is free to decide, on its own, how it should handle the lifetime of those cached values: by ignoring future database changes, by observing database changes and react accordingly, or in any way deemed relevant.
|
||||
|
||||
There are several ways to be notified of database changes. You can build on top of the very low-level [TransactionObserver] protocol. Or you can use [ValueObservation], which notifies fresh values after each database change, [FetchedRecordsController], which animates table and collection views. And don't forget [RxGRDB], a set of reactive extensions based on [RxSwift]:
|
||||
There are several ways to be notified of database changes. You can build on top of the fundamental but low-level [TransactionObserver] protocol. Usually, you'll use [ValueObservation], which notifies fresh values after each database change, or [FetchedRecordsController], which animates table and collection views. And don't forget [RxGRDB], a set of reactive extensions based on [RxSwift]:
|
||||
|
||||
```swift
|
||||
Player.all().rx
|
||||
|
||||
Reference in new issue
Block a user