In the documentation for memdocstore, we have this text [1]
"You can instead supply a function to construct the primary key from the document contents with
memdocstore.OpenCollectionWithKeyFunc. This can be useful for documents whose name is the combination of two or more fields."
I am a bit confused here. I think what this is trying to say is this is useful where the primary key field is obtained by a combination of fields which will eventually be stored in the documents in this collection.
>This can be useful for documents whose name is the combination of two or more fields."
Should "name" be "primary key"?
Thanks,
Amit.
[1] This can be useful for documents whose name is the combination of two or more fields."