• 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
One To Many Searching & Predicates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

One To Many Searching & Predicates


  • Subject: One To Many Searching & Predicates
  • From: Thaddeus Cooper <email@hidden>
  • Date: Tue, 11 Apr 2006 11:22:46 -0700

Hello all --

I have been wrestling with a search problem for some time now and I am stumped. I have a relationship that looks like this

        W                                MTN
+-----------+                +--------------+
|     mtn      | <------>>|      notes     |
+-----------+                +--------------+

I am trying to create a predicate using bindings so that the user can search for all of the objects in W that contain a string in the notes field of MTN.

I have tried the following:

any mtn.notes like $value
mtn.notes contains $value
any mtn.notes contains $value

and various other permutations using "some" and "all" (from looking at the predicate bnf). The relationship is two way and I checked that everything is pointing at the correct entities. The notes field is a string and the data that the user is typing in is not an attributed string.

I saw that there was some earlier traffic on the list about this problem but I have tried the solution put forth there and it still does not work.

Does anyone have a suggestion (or a solution) for this problem?

Thanks.

--Thaddeus O. Cooper
(email@hidden)
_______________________________________________
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


  • Prev by Date: Re: Help with undo/redo and NSArrayController
  • Next by Date: One To Many Searching & Predicates
  • Previous by thread: Cocoaheads Lake Forest meeting tonight
  • Next by thread: One To Many Searching & Predicates
  • Index(es):
    • Date
    • Thread