mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-04-17 14:29:48 +02:00
allow fetching from HCD
This commit is contained in:
@@ -27,10 +27,12 @@ import Foundation
|
||||
import CoreData
|
||||
|
||||
|
||||
// MARK: - NSManagedObjectContext+Querying
|
||||
// MARK: - NSManagedObjectContext
|
||||
|
||||
extension NSManagedObjectContext {
|
||||
|
||||
// MARK: Public
|
||||
|
||||
public func fetchOne<T: NSManagedObject>(entity: T.Type, _ queryClauses: FetchClause...) -> T? {
|
||||
|
||||
return self.fetchOne(entity, queryClauses)
|
||||
|
||||
Reference in New Issue
Block a user