MongoDB中数值型默认为Double,可以使用NumberInt()函数及NumberLong()函数分别指定某个字段为整型和长整型。

posted on 2017-04-07 10:58  guoxiang  阅读(301)  评论(0编辑  收藏  举报