List Info

Thread: complex query




complex query
country flaguser name
France
2007-02-19 11:05:00
 From a Magma collection I need to fetch some of its
elements according 
to complex query. Attribute of these elements contain
another collection 
from which I need to test for the values to be able to
select the 
elements I want. Really I don't know how I can do that with
a where:[]

What I would like to do is:

myCollection where: [:each| each
isRespondingTrueToMyCriteria: someCriteria]

But it is not possible with the index

The only alternative I found is to enumerate all the
collection, which 
is extremely slow when Magma server and client are on
different nodes in 
the Internet.

Any ideas or tips?

Hilaire

_______________________________________________
Magma mailing list
Magmalists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/magma


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )