---
title: affectedStores
framework: coredata
role: symbol
role_heading: Instance Property
path: coredata/nspersistentstorerequest/affectedstores
---

# affectedStores

The stores the request should be sent to.

## Declaration

```swift
var affectedStores: [NSPersistentStore]? { get set }
```

## Discussion

Discussion The array contains instances of NSPersistentStore.

## See Also

### Related Documentation

- [Core Data Programming Guide](apple-archive/documentation/Cocoa/Conceptual/CoreData.md)

### Configuring a Request

- [requestType](coredata/nspersistentstorerequest/requesttype.md)
- [NSPersistentStoreRequestType](coredata/nspersistentstorerequesttype.md)
