mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-04-25 01:58:45 +02:00
delete errant operator
This commit is contained in:
@@ -379,18 +379,6 @@ public extension RelationshipContainer.ToOne {
|
|||||||
return !Where(relationship.keyPath, isEqualTo: object)
|
return !Where(relationship.keyPath, isEqualTo: object)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
Creates a `Where` clause from a `CoreStoreObject.Relationship` property.
|
|
||||||
```
|
|
||||||
let dog = CoreStore.fetchOne(From<Dog>(), Dog.where { $0.master ~= me })
|
|
||||||
```
|
|
||||||
*/
|
|
||||||
@inline(__always)
|
|
||||||
public static func ~= (_ relationship: RelationshipContainer<O>.ToOne<D>, _ object: D?) -> Where<O> {
|
|
||||||
|
|
||||||
return Where(relationship.keyPath, isEqualTo: object)
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Creates a `Where` clause from a `CoreStoreObject.Relationship` property.
|
Creates a `Where` clause from a `CoreStoreObject.Relationship` property.
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user