WIP: Query builders

This commit is contained in:
John Rommel Estropia
2017-07-05 08:45:10 +09:00
parent 32743b3aee
commit aff966aac9
25 changed files with 269 additions and 116 deletions

View File

@@ -27,9 +27,9 @@ import Foundation
import CoreData
// MARK: - RawKeyPath
// MARK: - KeyPathString
public typealias RawKeyPath = String
public typealias KeyPathString = String
// MARK: - SortKey
@@ -40,14 +40,14 @@ public typealias RawKeyPath = String
public enum SortKey {
/**
Indicates that the `RawKeyPath` should be sorted in ascending order
Indicates that the `KeyPathString` should be sorted in ascending order
*/
case ascending(RawKeyPath)
case ascending(KeyPathString)
/**
Indicates that the `RawKeyPath` should be sorted in descending order
Indicates that the `KeyPathString` should be sorted in descending order
*/
case descending(RawKeyPath)
case descending(KeyPathString)
}