摘要: test; // 获取名称为 "test" 的数据库 /*集合创建成功 $collection = $db->createCollection("runoob"); echo "集合创建成功";*/ /*插入 $collection = $db->runoob; // 选择集合 $document = array( "title" => "MongoDB", "description" ... 阅读全文
posted @ 2016-07-28 16:52 zhuzhipeng 阅读(168) 评论(0) 推荐(0) 编辑