One To Many Searching & Predicates
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