Return-Path: Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: (qmail 18100 invoked from network); 17 Dec 2009 02:15:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Dec 2009 02:15:53 -0000 Received: (qmail 44787 invoked by uid 500); 17 Dec 2009 02:15:53 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 44698 invoked by uid 500); 17 Dec 2009 02:15:52 -0000 Mailing-List: contact commits-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 commits@couchdb.apache.org Received: (qmail 44689 invoked by uid 500); 17 Dec 2009 02:15:52 -0000 Delivered-To: apmail-incubator-couchdb-commits@incubator.apache.org Received: (qmail 44686 invoked by uid 99); 17 Dec 2009 02:15:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Dec 2009 02:15:52 +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.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Dec 2009 02:15:50 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 7BE4A17620; Thu, 17 Dec 2009 02:15:29 +0000 (GMT) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Thu, 17 Dec 2009 02:15:29 -0000 Message-ID: <20091217021529.20783.15701@eos.apache.org> Subject: =?utf-8?q?=5BCouchdb_Wiki=5D_Trivial_Update_of_=22Vues=22_by_BrunoRoh?= =?utf-8?q?=C3=A9e?= X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for c= hange notification. The "Vues" page has been changed by BrunoRoh=C3=A9e. The comment on this change is: typo. http://wiki.apache.org/couchdb/Vues?action=3Ddiff&rev1=3D6&rev2=3D7 -------------------------------------------------- = Une fonction vue accepte un seul argument : l'objet document. Pour produi= re un r=C3=A9sultat, elle doit appeler la fonction disponible implicitement= ''emit(key, value)''. =C3=80 chaque appel de cette fonction, une ligne es= t ajout=C3=A9e =C3=A0 la vue (si ni la ''cl=C3=A9''(key) ni la ''valeur''(v= alue) sont ind=C3=A9finies(undefined)). Quand les documents sont ajout=C3= =A9s, modifi=C3=A9s ou supprim=C3=A9s, les lignes de cette table sont mises= =C3=A0 jour automatiquement. = - Voici un exemple plus complexe d'une fonction d=C3=A9finisaant une vue su= r les valeurs recup=C3=A9r=C3=A9es dans les documents des clients : + Voici un exemple plus complexe d'une fonction d=C3=A9finisant une vue sur= les valeurs recup=C3=A9r=C3=A9es dans les documents des clients : = {{{ function(doc) {