On Nov 26, 2012, at 10:40 PM, Yanni Chiu <[email protected]> wrote:

> 
> 
> On 26/11/12 12:14 PM, Esteban Lorenzano wrote:
>> MontoTalk does not handle it. Voyage does :)
>> 
>> but... an "embedded collection" sounds strange to me... I don't
>> really think that is correct. There is no such thing like embedded
>> collection in a mongodb sense (If I'm understanding right you
>> question).
> 
> Sorry, bad choice of wording. I meant a Smalltalk collection, not a mongodb 
> collection. The Spaceship/Pilot example was misleading as well.
> 
> A better example could be something like a medication schedule with a list of 
> times to have the medication. The list is an array (I think that term will 
> work for Smalltalk and mongodb). It seems unnecessary to normalize the times 
> into a separate collection. So the question is: would Voyage or MongoTalk 
> rewrite the entire array of times on every add, remove, update of a time?

yes, MongoTalk (and Voyage because of that) will re-write the full document 
(that's how the driver works: is document-atomic)



Reply via email to