mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-11-14 21:03:51 +01:00
Unify generic labeling
This commit is contained in:
1 parent
3d8bdf1cf3
commit
80166a42bb
37 files changed
+711
-639
No files matched your search
@@ -39,16 +39,22 @@ import CoreData
|
||||
)
|
||||
```
|
||||
*/
|
||||
public struct QueryChainBuilder<D: DynamicObject, R: SelectResultType>: QueryChainableBuilderType {
|
||||
public struct QueryChainBuilder<O: DynamicObject, R: SelectResultType>: QueryChainableBuilderType {
|
||||
|
||||
// MARK: QueryChainableBuilderType
|
||||
|
||||
public typealias ObjectType = D
|
||||
public typealias ObjectType = O
|
||||
public typealias ResultType = R
|
||||
|
||||
public var from: From<D>
|
||||
public var select: Select<D, R>
|
||||
public var from: From<O>
|
||||
public var select: Select<O, R>
|
||||
public var queryClauses: [QueryClause] = []
|
||||
|
||||
|
||||
// MARK: Deprecated
|
||||
|
||||
@available(*, deprecated, renamed: "O")
|
||||
public typealias D = O
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user