• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Predicates not fetching.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: SDK 10.5 on XCode 4.1
  • Next by Date: Re: SDK 10.5 on XCode 4.1
  • Previous by thread: Re: SDK 10.5 on XCode 4.1
  • Next by thread: Re: Sample code using the new document model?
  • Index(es):
    • Date
    • Thread