The official gitter discussion about the php-rethink-ql driver (https://github.com/tbolier/php-rethink-ql)
tbolier on 1.4.0
tbolier on master
Set theme jekyll-theme-cayman (compare)
tbolier on 76
tbolier on master
76 Throw ConnectionException wh… (compare)
tbolier on 76
Add sync ReQL command (#50) (#7… Merge branch 'master' into feat… (compare)
tbolier on 50
We are proud to release a new version of the PHP Rethink QL driver.
Changelog
Improved code completion when writing ReQL queries #47
Simplified the return types by concrete return types instead of interfaces #47
Replacing interfaces by traits #47
Implemented ReQL string manipulations ge, le and not #60
Implemented ReQL selecting data between operation #56
Implemented ReQL manipulations hasFields, Keys, Pluck, Values and Without #52
This stable version is fully tested and build upon our coding standards and principles. You can easily integrate this version in your production applications. Version 1.3.0 supports the following ReQL commands.
trying to register gives
object(TBolier\RethinkQL\Connection\Registry)#5 (1) {
["connections":"TBolier\RethinkQL\Connection\Registry":private]=>
NULL
}
Hi, is there any workaround for the rethink driver as the error[The connection default_connection does not exist] still remain unresolved
This is a configuration error, I checked the library, and this is the one that works:
public function __construct()
{
$connections = [
'default' => new Options([
'hostname' => env('RETHINKDB_HOST'),
'port' => (int) env('RETHINKDB_PORT'),
'dbname' => env('RETHINKDB_DATABASE'),
'user' => env('RETHINKDB_USERNAME', null),
'password' => env('RETHINKDB_PASSWORD', null),
'timeout' => 5,
'timeout_stream' => 10,
]),
];
$registry = new Registry($connections);
$this->r = new Rethink($registry->getConnection('default'));
$this->connection = $this->r->connection()->connect();
}
Implemented in Laravel 7