thank you one more thing what api should i use for testing syncing the 
document to server i am confused what this code do :

URL syncUrl;
        try {
            syncUrl = new URL(SYNC_URL);
        } catch (MalformedURLException e) {
            throw new RuntimeException(e);
        }

        Replication pullReplication = 
database.createPullReplication(syncUrl);
        pullReplication.setContinuous(true);

        Replication pushReplication = 
database.createPushReplication(syncUrl);
        pushReplication.setContinuous(true);

        pullReplication.start();
        pushReplication.start();

        pullReplication.addChangeListener(this);
        pushReplication.addChangeListener(this);

On Wednesday, September 24, 2014 4:57:12 PM UTC+5, Raheel Mateen wrote:
>
> I follow the following to start the couch db on android
>
> http://docs.couchbase.com/couchbase-lite/cbl-android/cbl-android-1.0b2/#developing-apps
>
> but i actually not understand how to query in couch db for example if i 
> make a document in a db so how should i access that document with the help 
> of query.
>

-- 
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/26ab70f7-f018-4ac6-88bd-e22b1a849456%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to