---
title: HistoryInsert
framework: swiftdata
role: symbol
role_heading: Protocol
path: swiftdata/historyinsert
---

# HistoryInsert

## Declaration

```swift
protocol HistoryInsert<Model> : Sendable
```

## Topics

### Associated Types

- [ChangeIdentifier](swiftdata/historyinsert/changeidentifier-swift.associatedtype.md)
- [Model](swiftdata/historyinsert/model.md)
- [TransactionIdentifier](swiftdata/historyinsert/transactionidentifier-swift.associatedtype.md)

### Instance Properties

- [changeIdentifier](swiftdata/historyinsert/changeidentifier-swift.property.md)
- [changedPersistentIdentifier](swiftdata/historyinsert/changedpersistentidentifier.md)
- [transactionIdentifier](swiftdata/historyinsert/transactionidentifier-swift.property.md)

## Relationships

### Inherits From

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

### Conforming Types

- [DefaultHistoryInsert](swiftdata/defaulthistoryinsert.md)

## See Also

### History life cycle

- [HistoryChange](swiftdata/historychange.md)
- [HistoryDelete](swiftdata/historydelete.md)
- [HistoryToken](swiftdata/historytoken.md)
- [HistoryTransaction](swiftdata/historytransaction.md)
- [HistoryUpdate](swiftdata/historyupdate.md)
- [HistoryTombstone](swiftdata/historytombstone.md)
- [DefaultHistoryInsert](swiftdata/defaulthistoryinsert.md)
- [DefaultHistoryUpdate](swiftdata/defaulthistoryupdate.md)
- [DefaultHistoryDelete](swiftdata/defaulthistorydelete.md)
- [DefaultHistoryToken](swiftdata/defaulthistorytoken.md)
- [DefaultHistoryTransaction](swiftdata/defaulthistorytransaction.md)
