Re: Accessing CouchBaseLite via Java Script

2015-06-03 Thread Jens Alfke
> On Jun 3, 2015, at 5:05 AM, gauravpal...@gmail.com wrote: > > I didn't find any REST API documentation for querying a Design Doc. How do > we query using a Design doc using REST API after we have created the Design > Doc Well, it would be here

Re: Accessing CouchBaseLite via Java Script

2015-06-03 Thread gauravpalvia
Many thanks Jens. I didn't find any REST API documentation for querying a Design Doc. How do we query using a Design doc using REST API after we have created the Design Doc On Thursday, May 28, 2015 at 9:35:07 PM UTC+5:30, Jens Alfke wrote: > > On May 28, 2015, at 8:58 AM, gaurav...@gmail.c

Re: Accessing CouchBaseLite via Java Script

2015-05-28 Thread Jens Alfke
> On May 28, 2015, at 8:58 AM, gauravpal...@gmail.com wrote: > > Is there any way in the REST API to configure for it to be not backed up on > iCloud or we need to do it via the native code as given in here > https://github.com/couchbase/couchbase-lite-ios/issues/357 >

Re: Accessing CouchBaseLite via Java Script

2015-05-28 Thread gauravpalvia
Thanks again for all the prompt responses. One security risk that we are anticipating is that the underlying SQLLite file will get backed up automatically on iCloud. Is there any way in the REST API to configure for it to be not backed up on iCloud or we need to do it via the native code as giv

Re: Accessing CouchBaseLite via Java Script

2015-05-25 Thread Jens Alfke
> On May 25, 2015, at 12:50 AM, gauravpal...@gmail.com wrote: > > So basically we want to do sync in native and read via JS/REST APIs from with > in the WebView concurrently. However while the native code is doing write ; > we were not able to read via the REST API/JS via Cordova plugin. SQLi

Re: Accessing CouchBaseLite via Java Script

2015-05-25 Thread gauravpalvia
Thanks Jens. It was very useful. As we are exploring more on this framework we are coming up with new complex scenarios that we need to address. I am putting down those and request to provide guidance on how CouchBase Lite Mobile will handle these scenarios: - We need to do concurrent write

Re: Accessing CouchBaseLite via Java Script

2015-05-21 Thread Jens Alfke
> On May 21, 2015, at 1:56 AM, gauravpal...@gmail.com wrote: > > - So the CouchbaseLiteListener internally creates a HTTP server on the > device itself and all the REST API calls are submitted to this local HTTP > server on the device itself. > The actual magic of inserting/updating data happe

Re: Accessing CouchBaseLite via Java Script

2015-05-21 Thread gauravpalvia
Thanks again for the prompt response. - So the CouchbaseLiteListener internally creates a HTTP server on the device itself and all the REST API calls are submitted to this local HTTP server on the device itself. The actual magic of inserting/updating data happens inside the CouchbaseLiteListen

Re: Accessing CouchBaseLite via Java Script

2015-05-20 Thread Jens Alfke
> On May 20, 2015, at 8:36 AM, gauravpal...@gmail.com wrote: > > - JS Wrappers internally call Rest APIs which internally call Cardova Plugin > which uses the CouchbaseLite and CouchbaseLiteListener frameworks to update > data in SQLLite storage. Is this understanding correct ? The plugin isn

Re: Accessing CouchBaseLite via Java Script

2015-05-20 Thread gauravpalvia
Thanks Can you please confirm if this is how it works: - JS Wrappers internally call Rest APIs which internally call Cardova Plugin which uses the CouchbaseLite and CouchbaseLiteListener frameworks to update data in SQLLite storage. Is this understanding correct ? - So in a Cardova applicatio

Re: Accessing CouchBaseLite via Java Script

2015-05-19 Thread Jens Alfke
> On May 19, 2015, at 8:55 AM, gauravpal...@gmail.com wrote: > > New to CouchBase Lite. Have few very basic queries: > > - Is there a JS API to access CouchBase Lite DB via Phonegap plugin on iOS ? > The kind of JS APIs Pouch DB exposes ? There is a REST API (compatible with CouchDB’s). JS