complex query
Hilaire Fernandes
hilaire2006 at laposte.net
Mon Feb 19 17:05:00 UTC 2007
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
More information about the Magma
mailing list