Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

again some md changes

  • Loading branch information...
commit 274cce01142c170c235540453fb88bae1f572c66 1 parent cc2b796
Andre Graf authored

Showing 1 changed file with 11 additions and 2 deletions. Show diff stats Hide diff stats

  1. +11 2 README.md
13 README.md
Source Rendered
@@ -12,24 +12,33 @@ Getting started
12 12 3. Setup Datastructures: <code>mydb:setup()</code>. This will setup a data and bucket directory inside CWD
13 13 4. Start mydb: <code>mydb:start()</code>
14 14 5. Use the following commands to play with mydb:
15   -###PUT Request
  15 +
  16 +###PUT Request
  17 +
16 18 <code>mydb:put(Key, Value) -> ok. %% Key :: term(), Value :: term()</code>
  19 +
17 20 <code>mydb:put(Key, Value) -> ok. %% Key :: binary(), Value :: binary()</code>
  21 +
18 22 ###GET Request
19 23 <code>mydb:get(Key) -> Value. %% Key :: term(), Value :: term()</code>
  24 +
20 25 <code>mydb:getb(Key) -> Value. %% Key :: binary(), Value :: binary()</code>
  26 +
21 27 ###UPDATE Request
22 28 <code>mydb:update(Key, Value) -> ok. %% Key :: term(), Value :: term()</code>
  29 +
23 30 <code>mydb:updateb(Key, Value) -> ok. %% Key :: binary(), Value :: binary()</code>
  31 +
24 32 ###DELETE Request
25 33 <code>mydb:delete(Key) -> ok. %% Key :: term()</code>
26 34 <code>mydb:delete(Key) -> ok. %% Key :: binary()</code>
  35 +
27 36 ###ADD MEMBERSHIP
28 37 <code>mydb:add_membership(Group, Key) -> ok. %% Group :: term(), Key :: term()</code>
  38 +
29 39 ###GET MEMBERS
30 40 <code>mydb:get_members(Group) -> [{Key, Value}]. %% Group :: term(), Key :: term(), Value :: term()</code>
31 41
32   -
33 42 Testing
34 43 -------
35 44 Simple Scenario where we enter N times a key value pair where key and value take the String of the current iteration index. For example with N = 1000000:

0 comments on commit 274cce0

Please sign in to comment.
Something went wrong with that request. Please try again.