anchor.diff:          lists:all(fun({_, _}) -> true;
               (_)      -> false
           end,
  -        List).+        List).
  +
  +
  +build_options_query([], OptionsList) ->
  +  OptionsList;
  +build_options_query([{limit, Val}|Tail], OptionsList) ->
  +  build_options_query(Tail, lists:append(OptionsList, [{rows, Val}])).
positive.code: 			   proplists:get_value(<<"_yz_rk">>, X)
  		   end, KeysExt)}.
  
  
  % this is a stub just to make the tests runable
  count(Conn, Type, Conditions) ->
  
negative.code: % this is a stub just to make the tests runable
  find(Conn, Type, Conditions, Max, Skip, Sort, SortOrder) ->
      Bucket = type_to_bucket_name(Type), % return bucket name into list type
      case Max of
        all ->
          Limit = 10;
        Max ->
          Limit = Max
      end,
  
      case Sort of
        id -> SortField = "_yz_id desc";
        Field -> SortField = atom_to_list(Field)
      end,
      {ok, Keys} = get_keys(Conn, Conditions, Bucket, Limit, Skip, SortField),
      find_acc(Conn, atom_to_list(Type), Keys, []).
  
  get_keys(Conn, [], Bucket) ->
      riakc_pb_socket:list_keys(Conn, Bucket);
  