Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding support for escaped identifiers in Postgresql #2167

Merged
merged 2 commits into from
Sep 23, 2024

Conversation

dcolt
Copy link
Contributor

@dcolt dcolt commented Sep 21, 2024

This PR is for adding support for escaped identifiers in postgresql.

This should resolve: #1820

Example db table:

CREATE TABLE public."pageContent" (
    id bigint NOT NULL,
    "group" character varying(64) NOT NULL,
    "camelCaseName" character varying(64) NOT NULL
);
ALTER TABLE ONLY public."pageContent"
    ADD CONSTRAINT page_content_pkey PRIMARY KEY (id);

@dcolt dcolt marked this pull request as ready for review September 21, 2024 16:59
@an-tao an-tao merged commit c9f5754 into drogonframework:master Sep 23, 2024
34 checks passed
@an-tao
Copy link
Member

an-tao commented Sep 23, 2024

@dcolt Thanks for your patch.

@dcolt dcolt deleted the postgresql-escaped branch September 23, 2024 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Postgres ORM doesn't properly escape keywords
2 participants