anchor.diff:  %%%===================================================================
   %%% API
   %%%===================================================================
  +
  +%% Create new table named Table
  +-spec new(Table::binary()) -> ok | {error, Error::binary()}.
  +new(Table) when is_binary(Table) ->
  +    {{create, _}, _} =
  +        dikdik_db:simple_query(<<"CREATE TABLE ", Table/binary, " (id varchar(256) PRIMARY KEY, data hstore)">>).
   
   %% Return all documents in Table
   -spec all(Table::binary()) -> [jsx:json_text()].
  
positive.code:         dikdik_db:extended_query(<<"SELECT %% hstore(data) FROM ", Table/binary,
                                     " WHERE id=$1">>, [Id]),
      jsx:encode(array_to_erl_json(Results)).
  
  %% Create new table named Table
  -spec new(Table::binary()) -> ok | {error, Error::binary()}.
  new(Table) when is_binary(Table) ->
      {{create, _}, _} =
          dikdik_db:simple_query(<<"CREATE TABLE ", Table/binary, " (id varchar(256) PRIMARY KEY, data hstore)">>).
  
  %% Create new document with Name, assumes Name does not currently exist
  -spec insert(Table::binary(), Doc::jsx:json_text()) -> ok | {error, Error::binary()}.
  
negative.code: -module(dikdik).
  
  %% API
  -export([new/1
          ,all/1
          ,match/2
          ,lookup/2
          ,insert/2
          ,insert/3
  