Commit 99179324 authored by Petr Besir Horáček's avatar Petr Besir Horáček
Browse files

Added aliasing to ::getDatabaseFluent()

parent 0219a77a
No related merge requests found
Pipeline #9550 failed with stage
in 39 seconds
Showing with 2 additions and 2 deletions
+2 -2
......@@ -276,11 +276,11 @@ abstract class ALowLevelRelationalDatabaseStorage implements ILowLevelRelational
*
* @return \Dibi\Fluent
*/
public function getTableFluent(string $selectSet = '*'): Fluent
public function getTableFluent(string $selectSet = '*', string $tableAlias = ''): Fluent
{
return $this->connection
->select($selectSet)
->from($this->tableName)
->from($this->tableName . ' ' . $tableAlias)
->setupResult('setRowFactory', [$this->rowFactoryClass, 'fromRow']);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment