maritz/nohm — Issue #39: Model sort by DESC
Author: SeyZ
Created: 2011-12-25 16:09:53+00:00
State: open

Hello ;)

In the documentation, you say

"Note that the ID array is sorted by default from lowest to highest."

Is it possible to sort the key by a field directly in redis, maybe when I define the model ? My object has a timestamp property. I want to have each "hash" sorted from newest to oldest.

Thanks !