Skip to content

Duckdb表名有.时,添加反引号不起作用 #2157

@Gn3po4g

Description

@Gn3po4g

问题描述及重现代码:

[Table(Name = "`read_excel('*.xlsx')`")]
public class Table
{
    public string Id { get; set; }
}
fsql.Select<Table>().ToList();

生成的sql是

SELECT a."Id" 
FROM "`read_excel('*"."xlsx')`" a

数据库版本

安装的Nuget包

.net framework/. net core? 及具体版本

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions