Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
SQLクエリを述語またはフェッチ要求に変換する方法、
select a.name from a group by a.name;
それは可能な解決策です:
NSFetchRequest* request = [NSFetchRequest fetchRequestWithEntityName:@"a"]; [request setPropertiesToFetch:@[@"name"]]; [request setPropertiesToGroupBy:@[@"name"]]; [request setResultType:NSDictionaryResultType];