Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jan 18 2019 14:25
    userabuser starred tbolier/php-rethink-ql
  • Dec 10 2018 12:30

    tbolier on 1.4.0

    (compare)

  • Dec 03 2018 21:06
    tbolier commented #78
  • Dec 03 2018 21:05
    tbolier labeled #78
  • Dec 03 2018 21:05
    tbolier labeled #78
  • Dec 03 2018 21:05
    tbolier commented #76
  • Dec 03 2018 21:04
    tbolier opened #78
  • Nov 21 2018 18:27

    tbolier on master

    Set theme jekyll-theme-cayman (compare)

  • Nov 20 2018 15:53
    mpjraaij commented #76
  • Nov 20 2018 14:17
    mpjraaij commented #76
  • Nov 20 2018 09:36
    tbolier commented #76
  • Nov 20 2018 09:36
    tbolier closed #76
  • Nov 20 2018 09:36

    tbolier on 76

    (compare)

  • Nov 20 2018 09:36

    tbolier on master

    76 Throw ConnectionException wh… (compare)

  • Nov 20 2018 09:36
    tbolier closed #77
  • Nov 19 2018 20:22
    tbolier synchronize #77
  • Nov 19 2018 20:22

    tbolier on 76

    Add sync ReQL command (#50) (#7… Merge branch 'master' into feat… (compare)

  • Nov 19 2018 20:22
    tbolier closed #50
  • Nov 19 2018 20:22
    tbolier commented #50
  • Nov 19 2018 20:22

    tbolier on 50

    (compare)

Timon Bolier
@tbolier
Hi all, welcome to the official Gitter conversation about the php-rethink-ql driver for RethinkDB, you can find our repository here: https://github.com/tbolier/php-rethink-ql
Timon Bolier
@tbolier
@Th3Mouk @Axalian @here Please check my pull request: tbolier/php-rethink-ql#66
Timon Bolier
@tbolier
Hi all, i've added milestone 2.1 for future issues, milestone 2.0 was postponed.
A pre-release of version 1.x will be released soon with all merged pull requests (features) of last couple of months.
When I've done this I will post the link to the next release here

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.

We will continue to work at the milestone 2.0, see https://github.com/tbolier/php-rethink-ql/blob/master/docs/roadmap.md
Will
@willbonde
hi, I was excited to find rethinkdb-php being actively developed. just curious, is there to detect connection drops on long running changefeed listeners?
Timon Bolier
@tbolier
Hey Will, I have yet to implement the changes feed listener, but I will take this into account. Let's create an issue for this one. I've been very busy lately with other clients of mine, so I ran out of time for adding the remainders of api methods to the lib.
Timon Bolier
@tbolier
Hey @willbonde, I've just added a changefeed listener support in this issue and related PRs tbolier/php-rethink-ql#73
When the connection drops, an ConnectionException should be thrown, which you can catch, in your error handler you can reconnect and consume the process.
Timon Bolier
@tbolier
@here I want to ask for help managing the PHP repository, is anybody interested in contributing and managing the PHP driver together with me?
Anders
@andersalm
hi, i just tried php-rethink-ql but no matter what i do, im not able to get my server into the register. any ideas?
PHP Fatal error: Uncaught TBolier\RethinkQL\Connection\ConnectionException: The connection test does not exist.

trying to register gives

object(TBolier\RethinkQL\Connection\Registry)#5 (1) {
["connections":"TBolier\RethinkQL\Connection\Registry":private]=>
NULL
}

Elijah Bee
@elijahbee
@tbolier I'd be glad to help
Timon Bolier
@tbolier
Het @elijahbee sorry for the late reply, haven’t checked here for ages. Let me know if you want to hop in and help to finish the driver?
BlockchainAPI
@TheBlockchainAPI
We having error with the RethinkDB for php (Your package).
It's giving us "This page isn’t working" when using the example code for getting started.
Timon Bolier
@tbolier
@TheBlockchainAPI hey great you are using this library. I can assist you on implementing, are you still in need? Let’s hook up. Cheers Timon
unclechris
@unclechris
Hi, is there any workaround for the rethink driver as the error[The connection default_connection does not exist] still remain unresolved
Timon Bolier
@tbolier
@unclechris this is a configuration error most likely. Let’s get it in touch and let’s see how you have implemented the driver?
PaulRB
@DarkzyRB

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

Now my question is: How can I do a descending sort?
Thanks for the library!
PaulRB
@DarkzyRB
Excellent!
class MessageDBSourceImp implements MessageDBSource
{
    public function index(array $filters = [])
    {
        $query = MessageRethink::table()
            ->filter($filters)
            ->orderBy(MessageRethink::rethink()->desc('created_at'))
            ->run();

        return $query->getData();
    }
}