couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kocol...@apache.org
Subject [couchdb-documentation] branch rfc/004-document-storage updated: Pack all values correctly
Date Wed, 10 Apr 2019 19:16:23 GMT
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 <kocolosk@apache.org>
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


Mime
View raw message