{"record":{"id":"37fcd5c4e2e5e6f3","repo":"yiisoft/yii2","slug":"does-not-support-fetching-all-schema-names","errorCode":null,"errorMessage":"{} does not support fetching all schema names.","messagePattern":"(.+?) does not support fetching all schema names\\.","errorType":"exception","errorClass":"yii\\base\\NotSupportedException","httpStatus":null,"severity":"error","filePath":"framework/db/Schema.php","lineNumber":153,"sourceCode":"     * @throws NotSupportedException if this method is not supported by the DBMS.\n     * @since 2.0.13\n     */\n    protected function resolveTableName($name)\n    {\n        throw new NotSupportedException(get_class($this) . ' does not support resolving table names.');\n    }\n\n    /**\n     * Returns all schema names in the database, including the default one but not system schemas.\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     * @return array all schema names in the database, except system schemas.\n     * @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","sourceCodeStart":135,"sourceCodeEnd":171,"githubUrl":"https://github.com/yiisoft/yii2/blob/66f00d18a29b520f85e8e8f1e32d1e7e7b556cac/framework/db/Schema.php#L135-L171","documentation":"Error \"{} does not support fetching all schema names.\" thrown in yiisoft/yii2.","triggerScenarios":"Thrown at framework/db/Schema.php:153 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"}