DAU issue. Correct syntax is:

view.get(*[*"myviewname",{key: 'document_3', limit:2}*]*
,function(err,results){ ... });

and everything works fine...



On Wednesday, December 17, 2014 1:06:15 PM UTC+1, Andrew wrote:
>
> Hi all,
>
> I recently started exploring Cauchbase Mobile PhoneGap/Cordova Plugion on 
> iOS and got the basic stuff to work using coax based REST API. I have 
> created the database, simple views and loaded some sample data.
>
> Running into issue with sending Query parameters to Cauch on views. 
> Basically looks like none of my query param is effective and the GET call 
> returns everything..
>
> The syntax I use is this:
>
> view.get("myviewname",{key: 'document_3', limit:2},function(err,results){ 
> ... });
>
>
> neither key nor the limit params do any good ...the view variable above 
> points to  coax'ed '/_design/test/_view' location.
>
> Any ideas?
>
>
>

-- 
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/0572895d-69c4-4a6b-b13e-6755866d3204%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to