/** * Constructor. * * @access public * @param \mako\database\connections\Connection $connection Database connection */ public function __construct(Connection $connection) { $this->connection = $connection; $this->helper = $connection->getQueryBuilderHelper(); $this->compiler = $connection->getQueryCompiler($this); }