Codeigniter MongoDB类库
摘要:
安装方法:1.将mongodb.php 放到config目录2.将Mongo_db.php放到library目录使用方法:$this->mongo_db->where_gte('age', 18)->where(array('country' => 'UK', 'can_drink' => TRUE))->get('people');代码:config/mongodb.phpCI =& get_instance(); $this->connection_string 阅读全文
posted @ 2014-02-12 10:49 逍遥郭 阅读(2855) 评论(0) 推荐(0) 编辑