From user-return-16285-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Sat May 21 00:54:09 2011 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 91EC9633D for ; Sat, 21 May 2011 00:54:09 +0000 (UTC) Received: (qmail 4202 invoked by uid 500); 21 May 2011 00:54:07 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 4168 invoked by uid 500); 21 May 2011 00:54:07 -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 4160 invoked by uid 99); 21 May 2011 00:54:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 May 2011 00:54:07 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [128.18.84.114] (HELO mailgate-internal4.sri.com) (128.18.84.114) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 21 May 2011 00:53:56 +0000 Received: from brightmail-internal2.sri.com (128.18.84.122) by mailgate-internal4.sri.com with SMTP; 21 May 2011 00:53:33 -0000 X-AuditID: 8012547a-b7ccaae000000cc8-71-4dd70d0d3852 Received: from mars.esd.sri.com (mars.esd.sri.com [128.18.26.200]) by brightmail-internal2.sri.com (Symantec Brightmail Gateway) with SMTP id 09.1D.03272.D0D07DD4; Fri, 20 May 2011 17:53:33 -0700 (PDT) MIME-version: 1.0 Received: from [192.12.16.187] by mars.esd.sri.com (Sun Java(tm) System Messaging Server 6.3-8.05 (built Sep 1 2009; 64bit)) with ESMTPSA id <0LLI00KH6T52MU30@mars.esd.sri.com> for user@couchdb.apache.org; Fri, 20 May 2011 17:53:26 -0700 (PDT) From: Jim Klo Content-type: multipart/signed; boundary=Apple-Mail-746--932984713; protocol="application/pkcs7-signature"; micalg=sha1 Subject: Query Local Docs? Date: Fri, 20 May 2011 17:53:33 -0700 Message-id: <3CE6A027-0EB6-4BBA-8323-637E5872CEE9@sri.com> To: user@couchdb.apache.org X-Mailer: Apple Mail (2.1084) X-Brightmail-Tracker: AAAAAA== X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-746--932984713 Content-Type: multipart/alternative; boundary=Apple-Mail-745--932984764 --Apple-Mail-745--932984764 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Is there a way to query local docs? Per http://wiki.apache.org/couchdb/Complete_HTTP_API_Reference Special non-replicating documents GET /db/_local/local-doc Returns the latest revision of the non-replicated document PUT /db/_local/local-doc Inserts a new version of the non-replicated document DELETE /db/_local/local-doc Deletes the non-replicated document COPY /db/_local/local-doc Copies the non-replicated document But is there a way to do a GET /db/_local? or is there some parameter to = add to GET /db to include locals? Thanks, - Jim Jim Klo Senior Software Engineer Center for Software Engineering SRI International --Apple-Mail-745--932984764 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Is = there a way to query local docs?

Special = non-replicating documents

GET
Returns the latest revision of the = non-replicated document
PUT
Inserts a new version of the non-replicated = document
DELETE
Deletes the non-replicated = document
COPY
Copies the non-replicated = document

But is there a way = to do a GET /db/_local? or is there some parameter to add to GET /db to = include = locals?

Thanks,

- = Jim

Jim Klo
Senior Software Engineer
Center for Software Engineering
SRI = International




= --Apple-Mail-745--932984764-- --Apple-Mail-746--932984713 Content-Disposition: attachment; filename=smime.p7s Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJ/zCCBO0w ggRWoAMCAQ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