Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Rudimentary scan support.

  • Loading branch information...
commit a4e4f7bfff68b019f9a563cfd59b16a3fb912a30 1 parent bb78d36
@knutin knutin authored
Showing with 6 additions and 2 deletions.
  1. +6 −2 src/dinerl.erl
View
8 src/dinerl.erl
@@ -16,6 +16,7 @@
-export([get_items/1, get_items/2, get_items/3, get_items/4]).
-export([update_item/3, update_item/4]).
-export([q/3]).
+-export([scan/1]).
-export([update_data/4]).
@@ -207,8 +208,11 @@ update_item(T, K, [{return, updated_new}|Rest], Acc, Timeout) ->
-%% scan() ->
-%% pass.
+scan(Args) ->
+ scan(Args, undefined).
+
+scan(Args, Timeout) ->
+ api(scan, Args, Timeout).
q(T, K, Options) ->
Please sign in to comment.
Something went wrong with that request. Please try again.