lxfeng1997 commented on code in PR #784:
URL: 
https://github.com/apache/incubator-seata-go/pull/784#discussion_r2145299395


##########
pkg/datasource/sql/exec/at/at_executor.go:
##########
@@ -81,3 +80,57 @@ func (e *ATExecutor) ExecWithValue(ctx context.Context, 
execCtx *types.ExecConte
        execCtx.NamedValues = util.ValueToNamedValue(execCtx.Values)
        return e.ExecWithNamedValue(ctx, execCtx, f)
 }
+
+func (e *ATExecutor) NewInsertExecutor(parserCtx *types.ParseContext, 
execContext *types.ExecContext, hooks []exec.SQLHook) internal.Executor {

Review Comment:
   修改成实现数据库接口,由各自的数据库接口去实现不同的sqltype,不在at_executor中那么多判断,保证后续的接入新数据库时的拓展性。



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org
For additional commands, e-mail: notifications-h...@seata.apache.org

Reply via email to