摘要:
D:\MongoDB\server\bin>mongo
2015-07-07T23:58:30.882+0800 I CONTROL Hotfix KB2731284 or later update is not installed, will zero-out data files
MongoDB shell version: 3.0.4
connecting to: test
> db.persion.insert({"name"="luojun","age"=20});
2015-07-08T00:00:02.302+0800 E QUERY SyntaxError: Unexpected token =
> db.Person.insert({"name":"feiazi","age":"22"})
WriteResult({ "nInserted" : 1 })
> db.Person.insert({"name":"helloword","age":"23"})
WriteResult({ "nInserted" : 1 })
> db.Pers 阅读全文