MongoDB通过find()函数执行查询操作 1.查找集合内的全部文档: db.media.find() 系统返回: { "_id" : ObjectId("5aa47c1953350e04ddbd6fa3"), "Type" : "Book", "Title" : "Definitive Gui Read More
插入数据: MongoDB使用insertOne函数插入一条数据 如: 1.先用document指定插入的数据: document = ({"Type":"Book","Title":"Definitive Guide to MongoDB 3rd ed.","ISBN":"978-1-4842-1 Read More