There's not currently an API to query a remote server. You'll need to make a 
REST call yourself. (We're experimenting with a RemoteQuery class, but it's not 
ready for release yet.)

—Jens

On Sep 28, 2014, at 12:03 AM, Rajagopal V 
<[email protected]<mailto:[email protected]>> wrote:

Hi,

I have a remote couchdb instance with some views created in it. If I were to 
query that from CBL Android, how would I do it using the native API?

 From some older postings, there seemed to be an CouchServer iOS class that 
would allow you to connect to a remote couchdb server but I cant find that in 
the current codebase or find an equivalent one for Android. (see 
https://groups.google.com/forum/#!searchin/mobile-couchbase/couchserver/mobile-couchbase/t3-lXqCyGK8/Q9QTA7FFIhMJ)

Should I just use the REST API to connect to the remote couchdb instance?

Thanks
Raja


--
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]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/f8abffd8-d65d-4523-bf38-1b0a69eabde5%40googlegroups.com<https://groups.google.com/d/msgid/mobile-couchbase/f8abffd8-d65d-4523-bf38-1b0a69eabde5%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

-- 
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/30DBB923-4680-40BE-9859-520F4775F8E7%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to