At the beginning the DB layer was designed to work with only RethinkDB but, one of Nuntius ideas is that 98% of the components are swappable - any one can replace any core components since all of the integration specified in the settings.yml file.

So, the DB layer was abstracted and split into four elements(which we will cover in the upcoming parts). Another reason is the on boarding process of new developers which need to know how to talk with RethinkDB.

Before the change you would need to do something like:


Not very nice and intuitive. After the abstraction you need to do:

    ->condition('foo', 'bar')
    ->condition('bar', 'fo')

Much better. Go Deep into the rabbit hole part to see the available methods and what you can do.