lostphilosopher/mongolab-lite-utils
Composer 安装命令:
composer require lostphilosopher/mongolab-lite-utils
包简介
MongolabLiteUtils provides convenient wrapper methods for connecting to and using a mongolab database.
README 文档
README
MongolabLiteUtils provides convenient wrapper methods for connecting to and using a mongolab database.
MongolabLiteUtils Usage
use MongolabLiteUtils\MongolabLiteUtils;
$mongo = new MongolabLiteUtils(getenv('MONGOLAB_URI'));
$collection = $mongo->getCollection('collection_name');
$collection->insert($record);
$data = $collection->find();
统计信息
- 总下载量: 25
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2015-01-03