Original PR: https://github.com/JohnEstropia/CoreStore/pull/75 Author: @ghost Created: 5/27/2016 Status: ❌ Closed
Base: corestore2_develop ← Head: corestore2_develop
corestore2_develop
2c9c115
2 files changed (+51 additions, -0 deletions)
📝 CoreStore.xcodeproj/project.pbxproj (+12 -0) ➕ Sources/Convenience/BaseDataTransaction+Convenience.swift (+39 -0)
CoreStore.xcodeproj/project.pbxproj
Sources/Convenience/BaseDataTransaction+Convenience.swift
Provides a convenient method for deleting all entities from DataStack with the ability to preserve some entities.
Sample usage:
transaction.truncateDataStack(shouldSkip: { (entity) -> Bool in return (entity == Favorite.self) })
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
No dependencies set.
The note is not visible to the blocked user.
📋 Pull Request Information
Original PR: https://github.com/JohnEstropia/CoreStore/pull/75
Author: @ghost
Created: 5/27/2016
Status: ❌ Closed
Base:
corestore2_develop← Head:corestore2_develop📝 Commits (1)
2c9c115Add convenient truncate methods to transaction📊 Changes
2 files changed (+51 additions, -0 deletions)
View changed files
📝
CoreStore.xcodeproj/project.pbxproj(+12 -0)➕
Sources/Convenience/BaseDataTransaction+Convenience.swift(+39 -0)📄 Description
Provides a convenient method for deleting all entities from DataStack with the ability to preserve some entities.
Sample usage:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.