anchor.diff:  encode_typeval_key(TypeVals) ->
       list_to_tuple([Val || {_Type, Val} <- TypeVals]).
   
  +
   %% Print the query explanation to the shell.
   explain_query_print(QueryString) ->
       explain_query_print2(1, explain_query(QueryString)).
  
positive.code: %% Time series must always use write_once so throw an error if the write_once
  %% property is ever set to false. This prevents a user thinking they have
  %% disabled write_once when it has been set to true internally.
  assert_write_once_not_false(Props) ->
      case lists:keyfind(<<"write_once">>, 1, Props) of
          {<<"write_once">>, false} ->
              throw({error,
                     {write_once,
                      "Error, the time series bucket type could not be created. "
                      "The write_once property must be true\n"}});
          _ ->
              ok
      end.
  
negative.code: varchar_quotes(V) ->
      <<"'", V/binary, "'">>.
  
  
  %%%
  %%% TESTS
  %%%
  