Ive got a MagmaCollection with objects that contain attribute #date with assigned index. How to update index in case I change a date in an object? Do I have to remove this object from the collection and put it back again or is there any other way?
Hi Pavel, try MagmaSession>>#noteOldKeysFor:. Just supply the object that has the date you are about to change. You have to do it *before* you change the date in the object. Magma will update the date index as part of that commit.
Cheers, Chris
magma@lists.squeakfoundation.org