code: public function getSql()
      {
          $schemaCondition = null === $this->schemaName
              ? ''
              : sprintf(" AND table_schema = '%s'", $this->schemaName);
          $sql = sprintf("SELECT table_name, table_schema FROM information_schema.tables WHERE table_schema <> 'information_schema'
              AND table_schema <> 'pg_catalog' AND table_type = 'BASE TABLE'%s;", $schemaCondition);
  
          return $sql;
      }
docs: {@inheritdoc}