MongoVUE一次性导入多条数据到数据库
MongoVUE上一次性导入多条数据的时候,红色感叹号提示:cannot deserialize BsonDocument from Bson Array[{"userId": "5579b5ff60f719343f761b5b","totalIn": 50000,"ye": 44406,
·
MongoVUE上一次性导入多条数据的时候,红色感叹号提示:
cannot deserialize BsonDocument from Bson Array
[
{
"userId": "5579b5ff60f719343f761b5b",
"totalIn": 50000,
"ye": 44406,
"passwd": "96e79218965eb72c92a549dd5a330112"
},
{
"userId": "5579bc9260f71ab4786835c0",
"totalIn": 5000,
"ye": 5000
},
{
"userId": "5579ea6d60f74b9ec9158634",
"totalIn": 0,
"ye": 0
}
]
如果去掉中括弧[],那么一次只能导入成功一条数据!!!!
好,看到右边有个json文件导入,填入上述的格式到exl,导入还是失败,提示不能有[],去掉后有提示不能有,,再次去掉格式如下:
再次导入:
成功了yeah~~~~
更多推荐
已为社区贡献4条内容
所有评论(0)