Skip to content

Conversation

@woowenjun99
Copy link
Contributor

@woowenjun99woowenjun99 commented Apr 25, 2024

Bug Fix

Initially the engine is postgresql even for mysql. As a result when I tried to compile, it led to issue #25. However, when I tried to replace the $1 placeholder in the queries file with ? as per mysql placeholder format, the code failed to compile due to the engine being postgresql compiler unable to read mysql syntax.

Problem

The engine in yaml for mysql is incorrect.

Solution

Updating the README to replace the engine with mysql for greater clarity and correctness

@kyleconroykyleconroy merged commit 54496e9 into sqlc-dev:mainMay 7, 2024
Sign up for freeto 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

@woowenjun99@kyleconroy