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