container
The context’s model container.
Declaration
var container: ModelContainer { get }Discussion
The property provides a reference to the model container you specify when calling the context’s initializer. For more information, see init(_:).
The context’s model container.
var container: ModelContainer { get }The property provides a reference to the model container you specify when calling the context’s initializer. For more information, see init(_:).