Skip to content

Conversation

@hakobera
Copy link
Contributor

@hakobera hakobera commented Jul 8, 2022

fix #1728

upsert_clause definition in internal/engine/sqlite/parser/SQLiteParser.g4 is using EQ token, but it should be ASSIGN for setting value.

Need to regenerate parser code using ANTLR v4.
Updating to ANTLR v4.10.1 is not mandatory, but for maintenance perspective, I think it's better to use latest version.

I confirmed there is no change in generated code by sqlc.

@kyleconroy kyleconroy merged commit 36a415e into sqlc-dev:main Jul 10, 2022
@hakobera hakobera deleted the fix-sqlite-upsert branch July 10, 2022 12:03
jlisthood pushed a commit to jlisthood/sqlc that referenced this pull request Apr 28, 2023
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.

SQLite upsert does not work

2 participants