> On May 5, 2015, at 2:06 PM, atom992 <[email protected]> wrote:
> 
> does this mean that I can not obtain document A by view or by document A's 
> ID? or I need add _removed is not true in my view or query?

You can still get the document explicitly by its ID. But it probably won't show 
up in queries since it doesn't have other properties that your map function 
would look for.

> If document A have 3 property, and each property determines user's channel. 
> does this means i should write sync function like this:
> if(document A have property P1 )
> {access(user1,P1)}
> if(document A have property P2 )
> {access(user1,P2)}
> if(document A have property P3 )
> {access(user1,P3)}

That's all you need. The part in red is unnecessary.

—Jens

-- 
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/8A4F7D16-52DB-4D10-A147-F92FC0698F1F%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to