A PHP helper class for working with the crate db
using a round robin connection pool based on a modified version of allegro/toper
i use a modified version of allegro/toper where the original guzzle response object gets returned
$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);
vendor/bin/phpunit --bootstrap ./tests/bootstrap.php --colors tests/SelectTest.php --verbose --debug