Oh..I think you meant this -
{type = user
name - xx
}
{
type = chat
sender = xxx
}
Just put everything in same db but with diff types rather that create
separate dbs?
What advantages do I have with this? Wouldn't this make filtering harder
when pulling users based on certain criteria or chats based on which ones
are mine?
On Tuesday, March 4, 2014 7:30:24 AM UTC+8, archit agarwal wrote:
>
> You mean I should put chats and users on the same DB and just distinguish
> them using a type
>
> User {
>
> Name - xx
> {
> Type - chat
> Sender - xx
> To - gg
> }
> }
>
> Really, is that advisable?
> What's the advantage is doing this?
>
>
--
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/18925879-bfe1-4502-ba6c-d7bec0d724e5%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.