On Wed, 2009-01-14 at 23:50 +0000, [email protected] wrote: > Your second example uses an 'And' which means you are trying to match > an employee row where the name is 'Ben' AND ' Steeve' AND 'John'. An > employee's ame can not match all three values, so it always fails and > you get back 0 rows. > > However, if you change to an 'Or' it should work. Then you are trying > to match an employee row where the name is 'Ben' OR ' Steeve' OR > 'John'. > > So I would expect something along the following to work: > > > store.using(*origin).find(Company, Or(*employees))
An or works, I would expect it to, but what I need is an and (or something like it), an or would return companies where any of the employee's listed existed and I need just the companies where all of the employee's listed exist, I think that's what is confusing the issue slightly. Thanks, Gord -- Gordon Allott ([email protected])
signature.asc
Description: This is a digitally signed message part
-- storm mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/storm
