{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"save"},{"kind":"text","text":"("},{"kind":"externalParam","text":"childContext"},{"kind":"text","text":" "},{"kind":"internalParam","text":"context"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"NSManagedObjectContext","preciseIdentifier":"c:objc(cs)NSManagedObjectContext"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"context","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A child "},{"type":"codeVoice","code":"NSManagedObjectContext"},{"type":"text","text":" context instance to save."}]}]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/swiftlibspersistence\/service\/save(childcontext:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/SwiftLibsPersistence\/documentation\/SwiftLibsPersistence\/Service\/save(childContext:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Save a given child context as well as its respective parent context."}],"kind":"symbol","metadata":{"role":"symbol","title":"save(childContext:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"save"},{"kind":"text","text":"("},{"kind":"externalParam","text":"childContext"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"NSManagedObjectContext","preciseIdentifier":"c:objc(cs)NSManagedObjectContext"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"symbolKind":"method","externalID":"s:20SwiftLibsPersistence7ServiceP4save12childContextySo015NSManagedObjectG0C_tKF","required":true,"modules":[{"name":"SwiftLibsPersistence"}]},"hierarchy":{"paths":[["doc:\/\/SwiftLibsPersistence\/documentation\/SwiftLibsPersistence","doc:\/\/SwiftLibsPersistence\/documentation\/SwiftLibsPersistence\/Service"]]},"references":{"doc://SwiftLibsPersistence/documentation/SwiftLibsPersistence/Service/save(childContext:)":{"role":"symbol","title":"save(childContext:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"save"},{"kind":"text","text":"("},{"kind":"externalParam","text":"childContext"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"NSManagedObjectContext","preciseIdentifier":"c:objc(cs)NSManagedObjectContext"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Save a given child context as well as its respective parent context."}],"identifier":"doc:\/\/SwiftLibsPersistence\/documentation\/SwiftLibsPersistence\/Service\/save(childContext:)","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/swiftlibspersistence\/service\/save(childcontext:)"},"doc://SwiftLibsPersistence/documentation/SwiftLibsPersistence/Service":{"role":"symbol","title":"Service","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"Service"}],"abstract":[],"identifier":"doc:\/\/SwiftLibsPersistence\/documentation\/SwiftLibsPersistence\/Service","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Service"}],"url":"\/documentation\/swiftlibspersistence\/service"},"doc://SwiftLibsPersistence/documentation/SwiftLibsPersistence":{"role":"collection","title":"SwiftLibsPersistence","abstract":[],"identifier":"doc:\/\/SwiftLibsPersistence\/documentation\/SwiftLibsPersistence","kind":"symbol","type":"topic","url":"\/documentation\/swiftlibspersistence"}}}