On Sat, Sep 18, 2010 at 5:11 AM, Tyler Gillies <[email protected]> wrote:
> How do i save a doc with a custom doc_id using the $.couch object?
>
So, when dealing with $.couch.app, keep in mind that it is not a
CouchDB client, it is just a wrapper script around jquery.couch.js, so
the answer you are looking for is in $.couch.db(foo).saveDoc()
Just save an object like
{
_id : "myid",
...
}
Chris
> --
> http://www.readwriteweb.com/about#tyler
>
> My website: http://list.pdxbrain.com
>
--
Chris Anderson
http://jchrisa.net
http://couch.io