Skip to content

Instantly share code, notes, and snippets.

@duff duff/gist:654246
Created Oct 29, 2010

Embed
What would you like to do?
# Using Sean's work on some built-ins: https://gist.github.com/63d3b5edd2ec011532ea
class Account
include Ripple::Document
property :charged_for_storage_at, Time
end
mr = Riak::MapReduce.new(Ripple.client).
add("accounts").
map("Ripple.filterByConditions", :arg => {:charged_for_storage_at => { "<" => 1.month.ago }}).
map("Ripple.mapIdentity", :keep => true)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.