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

add authorization to always quoted #433

Open
Form1ca opened this issue Dec 17, 2024 · 1 comment
Open

add authorization to always quoted #433

Form1ca opened this issue Dec 17, 2024 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@Form1ca
Copy link

Form1ca commented Dec 17, 2024

Describe the bug
wrong sql generated if column name authorization
PostgreSQL
pq: syntax error at or near "authorization"

Code snippet

INSERT INTO table (authorization)
VALUES (NULL);

Expected behavior

INSERT INTO table ("authorization")
VALUES (NULL);
@Form1ca Form1ca added the bug Something isn't working label Dec 17, 2024
@go-jet go-jet added the good first issue Good for newcomers label Dec 20, 2024
@iyiola-dev
Copy link

hi, i think this can be avoided by not using postgres keywords as table names.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants