Skip to content

Semi/automatic escaping for reserved words as tables or columns #53

Closed
@NPCRUS

Description

@NPCRUS

I have a table called order, which is a reserved word in sql. So the query compiles into something like:

SELECT * FROM order

the desired query(Postgres) would be:

SELECT * from "order"

Current workaround is to set explicit schema name on table like this:
override def schemaName: String = "schemaName"

Obviously the same would apply for columns, so we need mechanism to escape column and table names

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