On Tue, 16 Apr 2019, at 13:12, Garren Smith wrote: > > 2. Regarding emitting doc as the value in a view function, this is so > > common that I wonder if it's worth handling as a special case. It sounds > > like there wouldn't be a solution for customers who use this technique to > > ensure they can retrieve the version of the document that is consistent > > with the emitted key? > > > > Awesome idea, a special case does make sense. As Adam mentions we need to > do some performance testing to determine the best solution here.
Here, do we really mean to special case "the exact document" or the more general "a document-like structure" (i.e., any JSON object)? It feels a bit mean if you can either emit up to 100KB _or_ you must emit entire document. Mike.