MongoDB通过find()函数执行查询操作 1.查找集合内的全部文档: db.media.find() 系统返回: { "_id" : ObjectId("5aa47c1953350e04ddbd6fa3"), "Type" : "Book", "Title" : "Definitive Gui Read More
posted @ 2018-03-11 09:41 渡~solong Views(172) Comments(0) Diggs(0) Edit
插入数据: MongoDB使用insertOne函数插入一条数据 如: 1.先用document指定插入的数据: document = ({"Type":"Book","Title":"Definitive Guide to MongoDB 3rd ed.","ISBN":"978-1-4842-1 Read More
posted @ 2018-03-11 09:11 渡~solong Views(395) Comments(0) Diggs(0) Edit
Python安装: 推荐使用Anaconda来安装python及其运行环境,anaconda指的是一个开源的python发行版本,其包含了conda、Python等180多个科学包及其依赖项。 Anaconda的下载地址,推荐使用清华大学提供的镜像版本,下载速度会比较快: https://mirro Read More
posted @ 2018-03-10 21:33 渡~solong Views(1188) Comments(0) Diggs(0) Edit