{"record":{"id":"c8f5d3a9ac996631","repo":"yiisoft/yii2","slug":"does-not-support-resolving-table-names","errorCode":null,"errorMessage":"{} does not support resolving table names.","messagePattern":"(.+?) does not support resolving table names\\.","errorType":"exception","errorClass":"yii\\base\\NotSupportedException","httpStatus":null,"severity":"error","filePath":"framework/db/Schema.php","lineNumber":140,"sourceCode":"     * @var TQueryBuilder|null the query builder for this database\n     */\n    private $_builder;\n    /**\n     * @var string server version as a string.\n     */\n    private $_serverVersion;\n\n\n    /**\n     * Resolves the table name and schema name (if any).\n     * @param string $name the table name\n     * @return TableSchema [[TableSchema]] with resolved table, schema, etc. names.\n     * @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","sourceCodeStart":122,"sourceCodeEnd":158,"githubUrl":"https://github.com/yiisoft/yii2/blob/66f00d18a29b520f85e8e8f1e32d1e7e7b556cac/framework/db/Schema.php#L122-L158","documentation":"Error \"{} does not support resolving table names.\" thrown in yiisoft/yii2.","triggerScenarios":"Thrown at framework/db/Schema.php:140 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"}