Consider emit as below:
emit([key1,key2,key3,key4],doc)
emit([key3,key2,key1,key4],doc)

In android we require to specify a hash map at the end in endKey so I want 
to know if we need to specify any such information in iOS swift as well?

Also can we specify same key values in both startKey & endKey?

On Monday, October 30, 2017 at 8:32:34 PM UTC+5:30, parvez....@decurtis.com 
wrote:
>
> For a Couchbase lite iOS application, 
> 1.Is it possible to create a CBLView with multiple emit statements like
> emit([key1,key2,key3],doc)
> emit([key4,key5,key6],doc)
>
> 2. Do we need to add some kind of hash value when we specify an endKey for 
> a CBLLiveQuery?
>
>
> Thanks
>

-- 
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 mobile-couchbase+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/32a5077a-6376-4533-8049-aba4477ea9e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to