Allow to use Subqueries in from

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/15129/head
Joas Schilling 7 years ago committed by Roeland Jago Douma
parent 24d6a28f80
commit f906913177
No known key found for this signature in database
GPG Key ID: F941078878347C0C
  1. 4
      lib/private/DB/QueryBuilder/QueryBuilder.php

@ -1170,6 +1170,10 @@ class QueryBuilder implements IQueryBuilder {
* @return string
*/
public function getTableName($table) {
if ($table instanceof IQueryFunction) {
return (string) $table;
}
$table = $this->prefixTableName($table);
return $this->helper->quoteColumnName($table);
}

Loading…
Cancel
Save