Thanks... I know doc ids have to be strings so when I "array string" I meant json encoded string... It seems to work just fine so far but it doesnt look too pleasant but I can't risk the idea of delimiter collision...at all... I guess I could store the hash of those values or something On Mar 5, 2014 7:53 AM, "Marcello Barnaba" <[email protected]> wrote:
> > On Mar 05, 2014, at 07:27, Stanley Iriele <[email protected]> wrote: > > > I want to store a document for a particular game... Version...and > > key...where key could be any string. I want there to be a key collision > on > > insert > > > > I don't want to make up some delimeter because that wouldn't go so well.... > > If only the "key" field is out of your control and you can't assure the > delimiter will not appear in it, you can put this field last. Then, when > parsing the id, you split it up to the second delimiter. > > -- > ~ [email protected] > ~ http://sindro.me > >
