Namdak Tonpa 10 years ago
parent
commit
658ddc762c
1 changed files with 4 additions and 8 deletions
  1. 4 8
      README.md

+ 4 - 8
README.md

@@ -145,9 +145,6 @@ as usual indicates the name of bucket. And the second element usually correspond
 to the index key field. Additional secondary indexes could be applied for stores
 to the index key field. Additional secondary indexes could be applied for stores
 that supports 2i, e.g. kai, mnesia, riak.
 that supports 2i, e.g. kai, mnesia, riak.
 
 
-    1 record_name -- user, groups, acl, etc... table name -- element(1, Rec).
-    2 id          -- index key -- element(2, Rec).
-
 Iterators
 Iterators
 ---------
 ---------
 
 
@@ -155,11 +152,7 @@ All record could be chained into the double-linked lists in the database.
 So you can inherit from the ITERATOR record just like that:
 So you can inherit from the ITERATOR record just like that:
 
 
 ```erlang
 ```erlang
--record(access, {?ITERATOR(acl),
-    entry_id,
-    acl_id,
-    accessor,
-    action}).
+-record(container, {id,top,count}).
 ```
 ```
 
 
 The layout of iterators are following:
 The layout of iterators are following:
@@ -213,6 +206,9 @@ Containers are just boxes for storing top/heads of the linked lists. Here is lay
 of containers:
 of containers:
 
 
 ```erlang
 ```erlang
+```
+
+```erlang
 > lists:zip(lists:seq(1,length((kvs:table(feed))#table.fields)),
 > lists:zip(lists:seq(1,length((kvs:table(feed))#table.fields)),
             (kvs:table(feed))#table.fields).
             (kvs:table(feed))#table.fields).
 [{1,id},
 [{1,id},