Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

One To Many Searching & Predicates



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.