Re: [Pharo-users] Voyage and Association

2017-03-01 Thread Hilaire
It will, thanks Le 01/03/2017 à 20:42, Esteban Lorenzano a écrit : > hope this helps, -- Dr. Geo http://drgeo.eu

Re: [Pharo-users] Voyage and Association

2017-03-01 Thread Esteban Lorenzano
Hi Hilaire, the thing is mongo is JSON based and in JSON dictionaries are key-string, value-anything so we cannot persist them “as is”. To do that I use a trick which is convert them to collections before persisting, using a helper class that comes with Voyage-Mongo, VOMongoKeyPair. For exam

[Pharo-users] Voyage and Association

2017-03-01 Thread Hilaire
Hi, I am having trouble to persist in a Voyage repository Association formed with a key being a non string object (let's say a Month) and value a non basic object, instance of a model object. So far, I have an error bsonTypeCode not understood on my value object. I could implement bsonTypeCode, b