Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 633D29D66 for ; Tue, 27 Sep 2011 06:57:30 +0000 (UTC) Received: (qmail 49384 invoked by uid 500); 27 Sep 2011 06:57:28 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 49310 invoked by uid 500); 27 Sep 2011 06:57:28 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 49298 invoked by uid 99); 27 Sep 2011 06:57:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Sep 2011 06:57:28 +0000 X-ASF-Spam-Status: No, hits=0.4 required=5.0 tests=FREEMAIL_FROM,FROM_LOCAL_NOVOWEL,HK_RANDOM_ENVFROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of cgsmcmlxxv@gmail.com designates 209.85.215.180 as permitted sender) Received: from [209.85.215.180] (HELO mail-ey0-f180.google.com) (209.85.215.180) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Sep 2011 06:57:20 +0000 Received: by eyb6 with SMTP id 6so5540932eyb.11 for ; Mon, 26 Sep 2011 23:56:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=rzHfZlKLizLxzlIl6vw1Sc7zL8p7IHOMhClzl9eRG+E=; b=XOLAukujkM02dzAxhnyyAkpGcQsrHcUFV/z0/2M/jmsuGBogPs0C4TuKZu4uwpdolD Keh1LS7TrZepuJL4BmO5BrpY5RG81aKUhd0r5tSAO9ga6u+6xnYhkDa/PeU7fNGiKYrT bQcHve/1EfTQnr4z3XCMKCPYthrXJzK8Yg8kk= Received: by 10.213.28.78 with SMTP id l14mr156191ebc.19.1317106619446; Mon, 26 Sep 2011 23:56:59 -0700 (PDT) Received: from [192.168.1.100] (078088254132.wroclaw.vectranet.pl. [78.88.254.132]) by mx.google.com with ESMTPS id f56sm67202688eea.0.2011.09.26.23.56.57 (version=SSLv3 cipher=OTHER); Mon, 26 Sep 2011 23:56:58 -0700 (PDT) Message-ID: <4E8173B8.3060900@gmail.com> Date: Tue, 27 Sep 2011 08:56:56 +0200 From: CGS User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.21) Gecko/20110831 Thunderbird/3.1.13 MIME-Version: 1.0 To: user@couchdb.apache.org Subject: Re: how to delete document with empty _id References: <86k48vt8mt.fsf@gmail.com> <540B5FB6-9DE8-4913-9ABB-D67C49643893@4things.co.za> <4E816609.7030204@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Nice! Try this: DELETE /db/?rev=x-y, where x-y is the revision (never tried this before :) ). That if you don't want to use futon. On 09/27/2011 08:50 AM, Mark Hahn wrote: >> There is no document without _id. > Not true. I've managed to create a doc with a blank id also. I don't > remember how the bug worked that caused it, but I had to delete the db to > get rid of it. >