framework/db/ActiveQuery.php
public function getTablesUsedInFrom()
    {
        if (empty($this->from)) {
            return $this->cleanUpTableNames([$this->getPrimaryTableName()]);
        }

        return parent::getTablesUsedInFrom();
    }
public function getTablesUsedInFrom()
    {
        if (empty($this->from)) {
            return $this->cleanUpTableNames([$this->getPrimaryTableName()]);
        }

        return parent::getTablesUsedInFrom();
    }
public function getTablesUsedInFrom ( ) { if ( empty ( $ this -> from ) ) { return $ this -> cleanUpTableNames ( [ $ this -> getPrimaryTableName ( ) ] ) ; } return parent :: getTablesUsedInFrom ( ) ; }
{@inheritdoc}
@since 2.0.12
{