mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-26 04:07:50 +00:00
Harmonize GRDB, GRDBCombine, RxGRDB for next beta
This commit is contained in:
1 parent
e129463bae
commit
d3cc23d5a3
2 files changed
+8
-7
No files matched your search
@@ -193,9 +193,10 @@ The changes can quite impact your application. We'll describe them below, as wel
|
||||
```swift
|
||||
let observation = ValueObservation.tracking(Player.fetchAll)
|
||||
let cancellable = observation
|
||||
.publisher(in: dbQueue)
|
||||
// Opt in for immediate notification of the initial value
|
||||
.scheduling(.immediate)
|
||||
.publisher(
|
||||
in: dbQueue,
|
||||
// Opt in for immediate notification of the initial value
|
||||
scheduling: .immediate)
|
||||
.sink(...)
|
||||
```
|
||||
|
||||
@@ -207,9 +208,10 @@ The changes can quite impact your application. We'll describe them below, as wel
|
||||
```swift
|
||||
let observation = ValueObservation.tracking(Player.fetchAll)
|
||||
let disposable = observation
|
||||
.rx.observe(in: dbQueue)
|
||||
// Opt in for immediate notification of the initial value
|
||||
.scheduling(.immediate)
|
||||
.rx.observe(
|
||||
in: dbQueue,
|
||||
// Opt in for immediate notification of the initial value
|
||||
scheduling: .immediate)
|
||||
.subscribe(...)
|
||||
```
|
||||
|
||||
|
||||
@@ -62,7 +62,6 @@
|
||||
- [ ] Cursor.underestimatedCount, which could speed up Array(cursor) and fetchAll()
|
||||
- [ ] Remove prefix from association keys when association name is namespaced: https://github.com/groue/GRDB.swift/issues/584#issuecomment-517658122
|
||||
- [ ] Alternative support for custom SQLite builds, wih CocoaPods: https://github.com/CocoaPods/CocoaPods/issues/9103
|
||||
- [ ] Introduce a ValueObservation "mode" which lifts the guarantee that all changes are notified, but allows it to perform its initial fetch immediately when supported by a DatabasePool. Context: https://github.com/groue/GRDB.swift/issues/601#issuecomment-524545056
|
||||
|
||||
|
||||
## Unsure how
|
||||
|
||||
Reference in new issue
Block a user