Created
September 2, 2014 16:09
-
-
Save sideshowcoder/f379dac7d66b252d7288 to your computer and use it in GitHub Desktop.
Creating a 1000 documents in Couchbase via Erlang oneliner
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[cberl:set(default, list_to_binary(X), 0, {[{<<"type">>,<<"bar">>}]}) || X <- [lists:flatten(io_lib:format("bar-~p", [X])) || X <- lists:seq(4, 10000)]]. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment