Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(datasource,rm): insert on update executor #456

Merged
merged 12 commits into from
Feb 18, 2023
Merged
2 changes: 2 additions & 0 deletions pkg/datasource/sql/exec/at/at_executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ func (e *AtExecutor) ExecWithNamedValue(ctx context.Context, execCtx *types.Exec
exec = NewUpdateExecutor(parser, execCtx, e.hooks)
case types.SQLTypeDelete:
exec = NewDeleteExecutor(parser, execCtx, e.hooks)
case types.SQLTypeInsertOnUpdate:
exec = NewInsertOnUpdateExecutor(parser, execCtx, e.hooks)
//case types.SQLTypeSelectForUpdate:
//case types.SQLTypeMultiDelete:
//case types.SQLTypeMultiUpdate:
Expand Down
Loading