views:

65

answers:

1

I wonder if I could just execute a NSFetchRequest with just the Entity and nothing else. However, it seems to work with no errors, but since I've never seen anyone doing that, I wonder if there are any bad drawbacks in doing this. The documentation doesn't say if there's any default value used instead when I provide no NSSortDescriptor.

+4  A: 

It will work, but your objects will come back in an unpredictable order. If you really just need every instance of a single entity without regard to ordering, then yes, it will work the way you want.

Alex