CoreStore refetch predicate NSFetchRequest issue
问题 if I got it clear I need to refetch monitor when I search something: I have this function to refetch with provided string func search(searchText: String) { self.monitor.refetch(.where(format: "%K CONTAINS[cd] %@", #keyPath(ListEntityType.name), searchText), OrderBy<ListEntityType>(.ascending("name"))) } but this code is not compilable, only this below: func search(searchText: String) { self.monitor.refetch(Where<ListEntityType>("name", isEqualTo: searchText), OrderBy<ListEntityType>(