From commits-return-36949-archive-asf-public=cust-asf.ponee.io@couchdb.apache.org Wed Apr 10 19:16:24 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id D0EF4180626 for ; Wed, 10 Apr 2019 21:16:23 +0200 (CEST) Received: (qmail 70218 invoked by uid 500); 10 Apr 2019 19:16:22 -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 70209 invoked by uid 99); 10 Apr 2019 19:16:22 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Apr 2019 19:16:22 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 22A0B80D89; Wed, 10 Apr 2019 19:16:23 +0000 (UTC) Date: Wed, 10 Apr 2019 19:16:23 +0000 To: "commits@couchdb.apache.org" Subject: [couchdb-documentation] branch rfc/004-document-storage updated: Pack all values correctly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <155492378300.27535.10145807476914199845@gitbox.apache.org> From: kocolosk@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: couchdb-documentation X-Git-Refname: refs/heads/rfc/004-document-storage X-Git-Reftype: branch X-Git-Oldrev: 0e4edcf54675fbf4a18cb967278a2e787961cff4 X-Git-Newrev: b2bed58ebe44e22b2dbf00cc1527f3fe83e2295f X-Git-Rev: b2bed58ebe44e22b2dbf00cc1527f3fe83e2295f X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated This is an automated email from the ASF dual-hosted git repository. kocolosk pushed a commit to branch rfc/004-document-storage in repository https://gitbox.apache.org/repos/asf/couchdb-documentation.git The following commit(s) were added to refs/heads/rfc/004-document-storage by this push: new b2bed58 Pack all values correctly b2bed58 is described below commit b2bed58ebe44e22b2dbf00cc1527f3fe83e2295f Author: Adam Kocoloski AuthorDate: Wed Apr 10 15:16:14 2019 -0400 Pack all values correctly --- rfcs/004-document-storage.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/rfcs/004-document-storage.md b/rfcs/004-document-storage.md index 1393310..bbfd8c6 100644 --- a/rfcs/004-document-storage.md +++ b/rfcs/004-document-storage.md @@ -106,11 +106,11 @@ position of the value within the array. As an example: becomes ``` -pack({"states", 0}) = "MA" -pack({"states", 1}) = "OH" -pack({"states", 2}) = "TX" -pack({"states", 3}) = "NM" -pack({"states", 4}) = "PA" +pack({"states", 0}) = pack({"MA"}) +pack({"states", 1}) = pack({"OH"}) +pack({"states", 2}) = pack({"TX"}) +pack({"states", 3}) = pack({"NM"}) +pack({"states", 4}) = pack({"PA"}) ``` More details on the encodings in the FoundationDB Tuple Layer can be found in