Skip to content

Sql generation improvements #4164

Closed as not planned
Closed as not planned
@ryanlin1986

Description

@ryanlin1986

select it.Name from Customer as it
instead of
select it.[Name] as [Name] from Customer as it
Two points:
#1, as [Name] is not necessary in this scenario.
#2, it.[Name] should be it.Name, since Name is not a keyword, I think it's better to maintain a keywords list and only use [] for keywords.

This will decrease the generated sql and much readable.

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