Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 26135 invoked from network); 26 Apr 2010 12:12:58 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 Apr 2010 12:12:58 -0000 Received: (qmail 84273 invoked by uid 500); 26 Apr 2010 12:12:57 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 84129 invoked by uid 500); 26 Apr 2010 12:12:56 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 84120 invoked by uid 99); 26 Apr 2010 12:12:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 12:12:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 12:12:54 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3QCCW0j008228 for ; Mon, 26 Apr 2010 12:12:32 GMT Message-ID: <19017216.7151272283952202.JavaMail.jira@thor> Date: Mon, 26 Apr 2010 08:12:32 -0400 (EDT) From: "Jarrod Roberson (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Created: (COUCHDB-751) [patch] to add ability to do a list function GET / POST to jquery.couch.js MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [patch] to add ability to do a list function GET / POST to jquery.couch.js -------------------------------------------------------------------------- Key: COUCHDB-751 URL: https://issues.apache.org/jira/browse/COUCHDB-751 Project: CouchDB Issue Type: Improvement Affects Versions: 0.11 Reporter: Jarrod Roberson Priority: Trivial I added a list function query support to jquery.couch.js. list: function(list, view, options) { var list = list.split('/'); var options = options || {}; var type = 'GET'; var data = null; if (options['keys']) { type = 'POST'; var keys = options['keys']; delete options['keys']; data = toJSON({'keys': keys }); } ajax({ type: type, data: data, url: this.uri + '_design/' + list[0] + '/_list/' + list[1] + '/' + view + encodeOptions(options) }, options, 'An error occured accessing the list' ); }, -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.