michabbb/php-crate
最新稳定版本:v1.0
Composer 安装命令:
composer require michabbb/php-crate
包简介
A PHP Helper Class working with the crate db
README 文档
README
A PHP helper class for working with the crate db
using a round robin connection pool based on a modified version of allegro/toper
Notice
i use a modified version of allegro/toper where the original guzzle response object gets returned
Quick start
$APIURL = "/_sql?pretty"; $POOL = "http://127.0.0.1:4200,http://127.0.0.1:4201,http://127.0.0.1:4202"; $SQL = "select id from test"; $CRATE = new crate($POOL,$APIURL); $result = $CRATE->sql($SQL);
Simple Test
vendor/bin/phpunit --bootstrap ./tests/bootstrap.php --colors tests/SelectTest.php --verbose --debug
统计信息
- 总下载量: 2.1k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2020-05-16