There's an open issue to track the addition of this feature:

http://issues.basho.com/show_bug.cgi?id=859

- Andy


On Fri, Dec 17, 2010 at 9:39 AM, Grant Schofield <gr...@basho.com> wrote:

> This isn't currently built into the client, but you can reuse the function
> we use internally, riak_core_util:unique_id_62() located here:
> https://github.com/basho/riak_core/blob/master/src/riak_core_util.erl#L131
>
> Grant Schofield
> Developer Advocate
> Basho Technologies, Inc.
>
> <https://github.com/basho/riak_core/blob/master/src/riak_core_util.erl#L131>
> On Dec 15, 2010, at 11:49 AM, carson li wrote:
>
> hey,
>
> i have a quick question about auto generating keys.
> i know using curl post, all you have to do is specify the bucket, and riak
> will generate the key for you.
>
> is it possible for the erlang library to generate the key for you? if not,
> is there an easy to to generate unique keys using some built in function?
> any leads will help, thanks.
>
> --
> Carson Li
> Liquid Analytics
> carson...@liquidanalytics.com
> 647-273-1024
>
>  _______________________________________________
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
>
> _______________________________________________
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to