{"record":{"id":"f198972bc0f882a3","repo":"yiisoft/yii2","slug":"does-not-support-fetching-all-table-names","errorCode":null,"errorMessage":"{} does not support fetching all table names.","messagePattern":"(.+?) does not support fetching all table names\\.","errorType":"exception","errorClass":"yii\\base\\NotSupportedException","httpStatus":null,"severity":"error","filePath":"framework/db/Schema.php","lineNumber":166,"sourceCode":"     * @throws NotSupportedException if this method is not supported by the DBMS.\n     * @since 2.0.4\n     */\n    protected function findSchemaNames()\n    {\n        throw new NotSupportedException(get_class($this) . ' does not support fetching all schema names.');\n    }\n\n    /**\n     * Returns all table names in the database.\n     * This method should be overridden by child classes in order to support this feature\n     * because the default implementation simply throws an exception.\n     * @param string $schema the schema of the tables. Defaults to empty string, meaning the current or default schema.\n     * @return array all table names in the database. The names have NO schema name prefix.\n     * @throws NotSupportedException if this method is not supported by the DBMS.\n     */\n    protected function findTableNames($schema = '')\n    {\n        throw new NotSupportedException(get_class($this) . ' does not support fetching all table names.');\n    }\n\n    /**\n     * Loads the metadata for the specified table.\n     * @param string $name table name\n     * @return TableSchema|null DBMS-dependent table metadata, `null` if the table does not exist.\n     */\n    abstract protected function loadTableSchema($name);\n\n    /**\n     * Creates a column schema for the database.\n     * This method may be overridden by child classes to create a DBMS-specific column schema.\n     * @return T column schema instance.\n     * @throws InvalidConfigException if a column schema class cannot be created.\n     */\n    protected function createColumnSchema()\n    {\n        return Yii::createObject($this->columnSchemaClass);","sourceCodeStart":148,"sourceCodeEnd":184,"githubUrl":"https://github.com/yiisoft/yii2/blob/66f00d18a29b520f85e8e8f1e32d1e7e7b556cac/framework/db/Schema.php#L148-L184","documentation":"Error \"{} does not support fetching all table names.\" thrown in yiisoft/yii2.","triggerScenarios":"Thrown at framework/db/Schema.php:166 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"66f00d18a29b520f85e8e8f1e32d1e7e7b556cac","analyzedAt":"2026-08-17T05:17:23.470Z","schemaVersion":2},"datasetVersion":"2026-08-17T09:17:11.063Z"}