NSPredicate and nil variables.
NSPredicate and nil variables.
- Subject: NSPredicate and nil variables.
- From: Óscar Morales Vivó <email@hidden>
- Date: Wed, 6 Jul 2005 20:19:49 -0400
I'm experimenting with Core Data and trying to build some fetch
requests. However there's something I haven't been able to find out
how it will behave, if anyone can clear it out for me or point me in
the direction of the relevant documentation I'll be grateful:
I've understood how to build predicates with variables, how to
instantiate them and do fetch requests on them. However I'm not sure
how the predicate will behave if any of the predicate's variables
ends up being nil, especially for things like dates where I'm not
sure how a zero would be interpreted. Since I'm trying to build
predicates that use optional attributes, it could mean I have to do
the filtering through code which doesn't feel that elegant.
Thanks in advance for your help:
Oscar Morales Vivo.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden