Skip to content

Instantly share code, notes, and snippets.

@rjenkins
Created June 25, 2014 17:46
Show Gist options
  • Save rjenkins/2dbd95067c78da0e8194 to your computer and use it in GitHub Desktop.
Save rjenkins/2dbd95067c78da0e8194 to your computer and use it in GitHub Desktop.
multiget_meters(Db, OrgId, Keys) ->
Meters = [ M || {ok, M} <- [ get_meter(Db, OrgId, K) || K <- Keys ]],
{ok, Meters}.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment