Skip to content

Do not cast column to string#15

Open
WilliamDEdwards wants to merge 1 commit intoacidjunk:masterfrom
WilliamDEdwards:fix/dont-cast-string
Open

Do not cast column to string#15
WilliamDEdwards wants to merge 1 commit intoacidjunk:masterfrom
WilliamDEdwards:fix/dont-cast-string

Conversation

@WilliamDEdwards
Copy link

Do not cast column to string. This is bad for performance. MySQL usually takes care of casting under the hood. It converts string to integer when comparing string to integer column.

I did not test this change. The GitHub workflow was not run on this PR.

…lly takes care of casting under the hood. It converts string to integer when comparing string to integer column.
@acidjunk
Copy link
Owner

I will test this against our PostgreSQL based setup.
Thanks for the contribution!

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.

2 participants