mirror of
https://github.com/cosmocode/dokuwiki-plugin-struct.git
synced 2025-07-25 16:01:54 +00:00
21 lines
369 B
PHP
21 lines
369 B
PHP
<?php
|
|
|
|
namespace dokuwiki\plugin\struct\test\mock;
|
|
|
|
use dokuwiki\plugin\struct\meta;
|
|
|
|
class QueryBuilder extends meta\QueryBuilder
|
|
{
|
|
public $from;
|
|
|
|
/**
|
|
* for debugging where statements
|
|
*
|
|
* @return array ($sql, $opts)
|
|
*/
|
|
public function getWhereSQL()
|
|
{
|
|
return [$this->filters()->toSQL(), array_values($this->values)];
|
|
}
|
|
}
|