mongodb中以group 保留字创建的集合访问及删除
xxxx:PRIMARY> show collections;
friendR
group
groupm
groupre
groupr
错误以group保留字创建的集合删除方法:
db.getCollection("group").drop();
------道不行,乘桴浮于海!------
------欲讷于言,而敏于行!-------
xxxx:PRIMARY> show collections;
friendR
group
groupm
groupre
groupr
错误以group保留字创建的集合删除方法:
db.getCollection("group").drop();