Predicates not fetching.
Predicates not fetching.
- Subject: Predicates not fetching.
- From: James Cicenia <email@hidden>
- Date: Thu, 15 Sep 2011 10:03:59 -0500
Hello -
I first read an xml file upon startup into a Core Data sqlite.
I then fetch all records... they are there.
I then do a simple predicate @"name == %@", nameString
If find nothing. And it is there.
Now if I open the created SQLITE database via a client tool,
It also turns up zero records. However if I do a like construct
in SQL I can get it to return records.
name like nameString%
However, if I do a like via my predicate, still no records.
I am using the same context throughout.
My xml was dead simple as in:
<id>8</id>
<name>Buddha</name>
There are no hidden characters, etc.
Any thoughts? This is driving me a bit crazy
Thanks
James
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden