When  I try this in Erlang:(saving a new Map object to a bucket through )

      Map   = riakc_map:new(),
      Map1 = riakc_map:update({<<"published_b">>, flag},
                        fun(F) -> riakc_flag:disable(F) end, Map);

I got context_required. How could I create a false flag? I tried enable/1, it 
seems ok. Should I use new/0?


--

Hao Wang

  
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to