Ok, so I tried it out and keeping track of a dictionary of the values 
allows me to ensure I don't emit duplicate values.

But is there a better way? Maybe a less memory intensive way?

Thanks,

Brendan

On Wednesday, March 23, 2016 at 2:19:36 AM UTC-6, Brendan Duddridge wrote:
>
> Hi,
>
> How can I emit unique values in my map block? Is there a way to do that 
> easily or will it require keeping an array of already emitted values, 
> ensuring that I don't emit another one with the same value? I just don't 
> want duplicate keys in my view.
>
> Thanks,
>
> Brendan
>

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/0504b397-749b-4324-9ea6-defaff441a6b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to