I want to create a PFQuery for a PFRelation to find objects where the specified relation has zero objects in it. Here's what I've tried:
PFQuery *categoryQuery = [CatalogCategory query];
[categoryQuery whereKeyDoesNotExist:@"subcategories"];
But I get an error saying I can't use this operator on a PFRelation key. How else could I achieve what I'm looking for?