couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcus <mar...@wordit.com>
Subject Re: Correct db name but receiving 400 response
Date Thu, 04 Nov 2010 00:52:37 GMT
On Thu, Nov 4, 2010 at 1:40 AM, Chad George <chad@mgproducts.com> wrote:
> this looks suspect to me:
>  $.couch.db($db).allDocs({ ... });
>
> try this:
> $db.allDocs( { ... });

Thanks Chad, that works. Odd though, I copied the code from tutorial.

I discovered this also works:

$.couch.db("dbname").allDocs({ ... });

Marcus

Mime
View raw message