Problem when replacing a collection within a MagmaCollection

Amir Ansari fractallyte at csi.com
Tue Apr 26 05:55:47 UTC 2011


I have it working now.  It's essential to invoke the method 'noteOldKeysFor:' within a reader (just as shown in the wiki).  Here's the code for my example:

MyDB commit: [
	reader := fruitbowls read: #color.
	reader do: [ :each |
		MyDB session noteOldKeysFor: each.
		each fruits: #('walnut' 'hazelnut' 'chestnut') ] ].

Thanks for your help, Chris!


More information about the Magma mailing list