You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you have multiple whens within a merge query, the WhenNodes are joined with a comma. A minimal example of this can be seen in the following kysely playground: https://kyse.link/A9Ndr
The affected lines are as follows (with the comma after @1):
UPDATESET"first_name"= @1,
WHEN NOT MATCHED THEN
I know that this causes a syntax error within mssql, but am not as sure about the other dialects that kysely includes.
I'll make a draft PR shortly in attempt to fix this.
The text was updated successfully, but these errors were encountered:
When you have multiple whens within a merge query, the
WhenNode
s are joined with a comma. A minimal example of this can be seen in the following kysely playground: https://kyse.link/A9NdrThe affected lines are as follows (with the comma after
@1
):I know that this causes a syntax error within mssql, but am not as sure about the other dialects that kysely includes.
I'll make a
draftPR shortly in attempt to fix this.The text was updated successfully, but these errors were encountered: