complex query

Chris Muller afunkyobject at yahoo.com
Tue Feb 20 05:00:19 UTC 2007


#includesAnyOf: and #includesAllOf: are supported operators for complex queries; I'm not sure if these meet your needs or not..  Can you be more specific about what you want to do and what indexes you have?


----- Original Message ----
From: Hilaire Fernandes <hilaire2006 at laposte.net>
To: magma at lists.squeakfoundation.org
Sent: Monday, February 19, 2007 6:02:47 PM
Subject: complex query

 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
Magma at lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/magma





More information about the Magma mailing list