Just use a sorted set dude. On Friday, March 23, 2012 3:24:50 AM UTC-4, Angelo Chen wrote: > > Hi, > > using > node_redis(https://github.com/mranney/node_redis<https://github.com/mranney/node_redis>), > > I came to > this situation: > > client.keys("reg:article:*", function (err, replies) { > } > > > the data is hset with a date field, is there a way to sort it > according to the date? I know I can put another sorted set for that, > but this is a rare situation, is there a way to do that? thanks. > > a.c.
-- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
