Skip to content

Instantly share code, notes, and snippets.

@mattsnyder
Created January 16, 2013 19:20
Show Gist options
  • Save mattsnyder/4549940 to your computer and use it in GitHub Desktop.
Save mattsnyder/4549940 to your computer and use it in GitHub Desktop.
2i query to retrieve records by key range
MyModel.find_by_index('$key', '20121001'..'20130117')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment