You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Zsolt Czinkos <cz...@gmail.com> on 2010/09/02 22:15:50 UTC

create doc via _update function

Hello

I created a document using an _update function, and I had not set an
_id property on it. Couchdb saved this doc without id. It appears in
the list of all documents, but no _id, so I can't delete it since
there's no URL to which i could send a DELETE request.

Is it a bug or I totally misunderstood something?

Zsolt

Re: create doc via _update function

Posted by Zsolt Czinkos <cz...@gmail.com>.
Ah, thanks. I missed that mail thread.

Zsolt

On Thu, Sep 2, 2010 at 11:01 PM, Zachary Zolton
<za...@gmail.com> wrote:
> Yeah, this is a well known issue with update functions:
> http://web.archiveorange.com/archive/v/oW6Dz3P6CjkweAwyl5Mw
>
> On Thu, Sep 2, 2010 at 3:15 PM, Zsolt Czinkos <cz...@gmail.com> wrote:
>> Hello
>>
>> I created a document using an _update function, and I had not set an
>> _id property on it. Couchdb saved this doc without id. It appears in
>> the list of all documents, but no _id, so I can't delete it since
>> there's no URL to which i could send a DELETE request.
>>
>> Is it a bug or I totally misunderstood something?
>>
>> Zsolt
>>
>

Re: create doc via _update function

Posted by Zachary Zolton <za...@gmail.com>.
Yeah, this is a well known issue with update functions:
http://web.archiveorange.com/archive/v/oW6Dz3P6CjkweAwyl5Mw

On Thu, Sep 2, 2010 at 3:15 PM, Zsolt Czinkos <cz...@gmail.com> wrote:
> Hello
>
> I created a document using an _update function, and I had not set an
> _id property on it. Couchdb saved this doc without id. It appears in
> the list of all documents, but no _id, so I can't delete it since
> there's no URL to which i could send a DELETE request.
>
> Is it a bug or I totally misunderstood something?
>
> Zsolt
>