@stsmall

Thank you :) I've updated the repository to work with NSpredicate.

For example when you delete an entity, you can use it like

```

let request = NSFetchRequest<NSFetchRequestResult>(entityName: Person.entityName)

request.predicate = NSPredicate(format: "first_name LIKE[cd] %@", "Deda")

coreDataStore

.publicher(delete: request)

.sink { completion in

if case .failure(let error) = completion {

message = error.localizedDescription

}

} receiveValue: { _ in

message = "Deleting entities succeeded"

number_of_persons = 0

}

.store(in: &bag)

```

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store