mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-03-21 08:59:08 +01:00
support compound indexes and unique constraints on CoreStore properties
This commit is contained in:
@@ -26,12 +26,23 @@
|
||||
import Foundation
|
||||
|
||||
|
||||
// MARK: - AnyDynamicKeyPath
|
||||
|
||||
public protocol AnyDynamicKeyPath {
|
||||
|
||||
/**
|
||||
The keyPath string
|
||||
*/
|
||||
var cs_keyPathString: String { get }
|
||||
}
|
||||
|
||||
|
||||
// MARK: - DynamicKeyPath
|
||||
|
||||
/**
|
||||
Used only for utility methods.
|
||||
*/
|
||||
public protocol DynamicKeyPath {
|
||||
public protocol DynamicKeyPath: AnyDynamicKeyPath {
|
||||
|
||||
/**
|
||||
The DynamicObject type
|
||||
@@ -42,11 +53,6 @@ public protocol DynamicKeyPath {
|
||||
The Value type
|
||||
*/
|
||||
associatedtype ValueType
|
||||
|
||||
/**
|
||||
The keyPath string
|
||||
*/
|
||||
var cs_keyPathString: String { get }
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user