1<?php
2
3namespace dokuwiki\plugin\struct\test\mock;
4
5use dokuwiki\plugin\struct\meta;
6
7class QueryBuilder extends meta\QueryBuilder
8{
9    public $from;
10
11    public function fixPlaceholders($sql)
12    {
13        return parent::fixPlaceholders($sql);
14    }
15
16    /**
17     * for debugging where statements
18     *
19     * @return array ($sql, $opts)
20     */
21    public function getWhereSQL()
22    {
23        return $this->fixPlaceholders($this->filters()->toSQL());
24    }
25}
26