q:怎么插入纪录确定唯一性?
1 ensure index
2 insert(.. save=True)
http://stackoverflow.com/questions/1352671/unique-ids-with-mongodb
q:
mdb.status.find().sort([('updated_at', pymongo.DESCENDING),]):
mongodb 学习 tip3
猜你喜欢
转载自xiaojay.iteye.com/blog/1433125
今日推荐
周排行