Skip to content

Conversation

@AlansCodeLog
Copy link

If a user uses any column names with capital letters (e.g. columnName...) if they copy the code in the upsert guide they'll run into a confusing error:

column excluded.columnname does not exist

This is because without the quotes the db will treat the name as all lowercase.

The commit adds quotes to all usages of excluded, even if not strictly required for the examples.

See drizzle-team/drizzle-orm#675

If a user uses any column names with capital letters (e.g. columnName...) if they copy the code in the upsert guide they'll run into a confusing error: 

column excluded.columnname does not exist

This is because without the quotes the db will treat the name as all lowercase.

The commit adds quotes to all usages of excluded, even if not strictly required for the examples.

See drizzle-team/drizzle-orm#675
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.

1 participant