[Glass] There is really no way to have an ordered/sorted collection together with indexes?
Mariano Martinez Peck via Glass
glass at lists.gemtalksystems.com
Mon Aug 7 11:23:40 PDT 2017
Hi guys,
I am storing huge lists of "prices". For this, it really helps me to store
things ordered (by date)...either in an SequenceableCollection or a
SortedCollection. On the other hand, I do want to use indexes to speedup my
query to find price for a given date (equality index).
But I have found no way to have them both. The only workaround I found is
to keep 2 collections for each of these collections, one sorted/ordered,
and the other one an unordered one for querying via index. But this is a
pain from "developing" point of view, as well as for unnecessary repository
growth.
Am I missing something?
Thanks in advance,
--
Mariano
http://marianopeck.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20170807/6b711a1b/attachment.html>
More information about the Glass
mailing list