---
title: "fetchHistory(after:)"
framework: coredata
role: symbol
role_heading: Type Method
path: "coredata/nspersistenthistorychangerequest/fetchhistory(after:)-9cuj5"
---

# fetchHistory(after:)

Retrieves history since a given transaction.

## Declaration

```swift
class func fetchHistory(after transaction: NSPersistentHistoryTransaction?) -> Self
```

## Parameters

- `transaction`: The transaction that marks the beginning of the history request.

## Return Value

Return Value A persistent history fetch request (NSPersistentHistoryChangeRequest) with an initial transaction boundary.

## See Also

### Fetching History

- [fetchHistory(after:)](coredata/nspersistenthistorychangerequest/fetchhistory(after:)-qi5b.md)
- [fetchHistory(after:)](coredata/nspersistenthistorychangerequest/fetchhistory(after:)-3rmfm.md)
- [fetchHistory(withFetch:)](coredata/nspersistenthistorychangerequest/fetchhistory(withfetch:).md)
