Skip to content

Code Generator: Single schema code generation #9

@vaibhav-kaushal

Description

@vaibhav-kaushal

Right now, the code generator will create SQL queries which contain the schema name in front of the table name. Like this:

SELECT * FROM "public.users" WHERE "email" = $1

This looks ugly when there is just one schema in the database, which would usually be the case. We have to create the option to generate SQL queries without the schema name in front of tables when only one schema is present so that the query looks more like:

SELECT * FROM "users" WHERE "email" = $1

Metadata

Metadata

Assignees

No one assigned

    Labels

    code-generatorIssue relates to the code generatorenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions