mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-25 04:07:47 +00:00
FetchedRecordsController's ObservedRequest adopts TypedFetchRequest
This commit is contained in:
1 parent
89e7a62d99
commit
0008e4b645
3 files changed
+8
-6
No files matched your search
@@ -92,7 +92,7 @@ struct QueryInterfaceSelectQueryDefinition {
|
||||
|
||||
/// Returns a fetch request that counts the number of rows matched by self.
|
||||
var countRequest: AnyTypedFetchRequest<Int> {
|
||||
return AnyTypedFetchRequest(untypedRequest: countQuery)
|
||||
return countQuery.bound(to: Int.self)
|
||||
}
|
||||
|
||||
private var countQuery: QueryInterfaceSelectQueryDefinition {
|
||||
|
||||
Reference in new issue
Block a user