[Glass] Indexing question

BrunoBB smalltalk at adinet.com.uy
Mon Dec 9 16:36:12 PST 2013


Hi,

In the manual Programming Guide for GemStone/S 64 Bit explain how to create
index and in the mail list there's a lot information.

But i can not find if it possible what i want.

The class FormInstance is where all rows from a DB are mapped to this GS
class.
There are a lot of different kinds of forms, so FormInstance has a variable
named <fields> which is a dictionary holding the pair (fieldName, value).

So different instance of FormInstance has different set of keys depending
the form they are representing.

For example a sub set of instances of FormInstance will have (name surname
phone fields) as keys in <fields> inst var.

How to create an index over a dictionary that represent inst vars (fields of
the form) ? 

Or i should subclass (dynamically) each kind of form and then add the index
to these subclasses ?

Regards,
Bruno



--
View this message in context: http://forum.world.st/Indexing-question-tp4728875.html
Sent from the GLASS mailing list archive at Nabble.com.


More information about the Glass mailing list