NSManagedObjectContext
extension NSManagedObjectContext: FetchableSource, QueryableSource
-
Declaration
Swift
@nonobjc public func fetchExisting<O>(_ object: O) -> O? where O : DynamicObject
-
Declaration
Swift
@nonobjc public func fetchExisting<O>(_ objectID: NSManagedObjectID) -> O? where O : DynamicObject
-
Declaration
Swift
@nonobjc public func fetchExisting<O, S>(_ objects: S) -> [O] where O : DynamicObject, O == S.Element, S : Sequence
-
Declaration
Swift
@nonobjc public func fetchExisting<O, S>(_ objectIDs: S) -> [O] where O : DynamicObject, S : Sequence, S.Element == NSManagedObjectID
-
Declaration
Swift
@nonobjc public func fetchOne<O>(_ from: From<O>, _ fetchClauses: FetchClause...) throws -> O? where O : DynamicObject
-
Declaration
Swift
@nonobjc public func fetchOne<O>(_ from: From<O>, _ fetchClauses: [FetchClause]) throws -> O? where O : DynamicObject
-
Declaration
Swift
@nonobjc public func fetchOne<B>(_ clauseChain: B) throws -> B.ObjectType? where B : FetchChainableBuilderType
-
Declaration
Swift
@nonobjc public func fetchAll<O>(_ from: From<O>, _ fetchClauses: FetchClause...) throws -> [O] where O : DynamicObject
-
Declaration
Swift
@nonobjc public func fetchAll<O>(_ from: From<O>, _ fetchClauses: [FetchClause]) throws -> [O] where O : DynamicObject
-
Declaration
Swift
@nonobjc public func fetchAll<B>(_ clauseChain: B) throws -> [B.ObjectType] where B : FetchChainableBuilderType
-
Declaration
Swift
@nonobjc public func fetchCount<O>(_ from: From<O>, _ fetchClauses: FetchClause...) throws -> Int where O : DynamicObject
-
Declaration
Swift
@nonobjc public func fetchCount<O>(_ from: From<O>, _ fetchClauses: [FetchClause]) throws -> Int where O : DynamicObject
-
Declaration
Swift
@nonobjc public func fetchCount<B>(_ clauseChain: B) throws -> Int where B : FetchChainableBuilderType
-
Declaration
Swift
@nonobjc public func fetchObjectID<O>(_ from: From<O>, _ fetchClauses: FetchClause...) throws -> NSManagedObjectID? where O : DynamicObject
-
Declaration
Swift
@nonobjc public func fetchObjectID<O>(_ from: From<O>, _ fetchClauses: [FetchClause]) throws -> NSManagedObjectID? where O : DynamicObject
-
Declaration
Swift
@nonobjc public func fetchObjectID<B>(_ clauseChain: B) throws -> NSManagedObjectID? where B : FetchChainableBuilderType
-
Declaration
Swift
@nonobjc public func fetchObjectIDs<O>(_ from: From<O>, _ fetchClauses: FetchClause...) throws -> [NSManagedObjectID] where O : DynamicObject
-
Declaration
Swift
@nonobjc public func fetchObjectIDs<O>(_ from: From<O>, _ fetchClauses: [FetchClause]) throws -> [NSManagedObjectID] where O : DynamicObject
-
Declaration
Swift
@nonobjc public func fetchObjectIDs<B>(_ clauseChain: B) throws -> [NSManagedObjectID] where B : FetchChainableBuilderType
-
Declaration
Swift
@nonobjc public func queryValue<O, U>(_ from: From<O>, _ selectClause: Select<O, U>, _ queryClauses: QueryClause...) throws -> U? where O : DynamicObject, U : QueryableAttributeType
-
Declaration
Swift
@nonobjc public func queryValue<O, U>(_ from: From<O>, _ selectClause: Select<O, U>, _ queryClauses: [QueryClause]) throws -> U? where O : DynamicObject, U : QueryableAttributeType
-
Declaration
Swift
@nonobjc public func queryValue<B>(_ clauseChain: B) throws -> B.ResultType? where B : QueryChainableBuilderType, B.ResultType : QueryableAttributeType
-
Declaration
Swift
@nonobjc public func queryAttributes<O>(_ from: From<O>, _ selectClause: Select<O, NSDictionary>, _ queryClauses: QueryClause...) throws -> [[String : Any]] where O : DynamicObject
-
Declaration
Swift
@nonobjc public func queryAttributes<O>(_ from: From<O>, _ selectClause: Select<O, NSDictionary>, _ queryClauses: [QueryClause]) throws -> [[String : Any]] where O : DynamicObject
-
Declaration
Swift
public func queryAttributes<B>(_ clauseChain: B) throws -> [[String : Any]] where B : QueryChainableBuilderType, B.ResultType == NSDictionary
-
Declaration
Swift
@nonobjc public func unsafeContext() -> NSManagedObjectContext