These methods have to be implemented on the database and another class .
Most methods usable on query should be also usable directly through database, which will create the query apply its method.
DB API BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way