As mentioned by Jens earlier, since you are now working with Couchbase 
which is a NoSQL database , you should re-think the way your data is 
modeled. I understand that you were previously using a relational db and 
hence your data was modeled as such. But trying to retrofit a relational 
data model to use with a NoSQL db isn't really recommended. 

I am still not clear on "filters" (maybe you can give an example) but you 
can take a look at this blog 
<https://blog.couchbase.com/sql-for-json-query-interface-couchbase-mobile/> 
for a preview of the kind of querying that is possible in Couchbase Lite 
2.0.  There are JOINS and queries on collections as well which isn't 
discussed there but it should be a good starting point. 

This illustrates the data modeling concepts that Jens pointed out earlier

<https://lh3.googleusercontent.com/-LcRmW65CKns/WjAxjS8qTmI/AAAAAAAAALg/Os1NsxLmfxUsfpaMxY8TjzXBJWBKiS11gCLcBGAs/s1600/json_data_model.png>


On Tuesday, December 12, 2017 at 2:31:39 PM UTC-5, Anderson Scherdovski 
wrote:
>
> is that I made the application with sqlite more because of the 
> synchronization I need to change to the CouchBase, so I have the relational 
> model, but I know how the desktop works ... more my question is if I can 
> make filters between several documents?thank you...
>

-- 
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/2eb56fde-98c5-4588-8e13-614fa36cfa12%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to