In the builder classes, it should be possible to get a reference to the object that represents the query. SelectBuilder::getQuery(); should return the `class` the extends the `SqlQuery`, which is currently only managed within the `__toString()` function.