SwiftinitSwiftDataSwiftData.ModelContainer
init
SwiftData.ModelContainer.__allocating_init(for: SwiftData.Schema, migrationPlan: SwiftData.SchemaMigrationPlan.Type?, configurations: SwiftData.ModelConfiguration...) throws -> SwiftData.ModelContainer
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
param{}
- 0for:classSwiftData.Schema
- 1migrationPlan:enumSwift.Optional
- argmetatype
SwiftData.SchemaMigrationPlan.Type- baseexistential
SchemaMigrationPlan
- 2configurations: