'type': 'ADD_POINTS',
'localOrderId': actionRequest.localOrderId,
'merchantId': actionRequest.merchantId,
'storeId': actionRequest.storeId

db.test.find({amount:{$gt:2399927}}).sort({"amount":1}).limit(10) //53ms
db.tweets.find({_id: {$lt: <第一页的最后一个 ID>}}).limit(50).sort({_id: -1});

db.productfind({$or:[{"lastModifiedDate":{$lt:lmd}},{"_id":1,"lastModifiedDate":1},{$and:[{"lastModifiedDate":lmd},{"_id":{$gt:loid}}]}]},{"_id":1,"lastModifiedDate":1}).sort({"lastModifiedDate":-1, "_id":1}).limit(2)
db.scores.find({lid: lid, score: {$lt: last_score}}).sort({score: -1}).limit(20)另

docker run --name redis -d -p 6379:6379 redis

apidoc -i routes/ -o public/docs/

 posted on 2016-01-22 22:03  jayruan  阅读(192)  评论(0编辑  收藏  举报