> On Aug 26, 2014, at 12:00 PM, Ami Kapadia <[email protected]> wrote:
> 
> What JS library are you using? Have you consulted its documentation? What 
> unexpected results do you get from the call above?
> I am using coax library which is used here : 
> https://github.com/couchbaselabs/TodoLite-PhoneGap/blob/master/js/index.js

I looked around but couldn't find any documentation on coax. You might consider 
switching to a different CouchDB-compatible JS library with more support.

> BTW if you add the ?include_docs=true URL param when querying a view, you'll 
> get the document bodies inline along with the rows.
> I don't get what are you talking about.
> I am querying view like this :
> config.views(["getrecords_typewise", {
>               startkey : "contact",
>               endkey : "contact",

Just insert:
                include_docs: true,
there. The views() function takes the properties of that object you pass in and 
adds them to the URL as query parameters.

—Jens

-- 
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/69909F78-80AC-4191-8C2F-F6825612C4DC%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to