In Core Data predicates, optional properties indicate whether the SQLite field can be NULL, not the Swift optional type.With SwiftData, optional types in predicates truly represent optionals in Swift, requiring special handling of optional values.Force unwrapping with '!' in SwiftData predicates may result in runtime errors even if the developer is confident the property is not nil.SwiftData encounters runtime errors when converting predicates containing optional to-many relationships into SQL commands, as of Xcode 15C500b.