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