// Copyright GoFrame Author(https://goframe.org). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, // You can obtain one at https://github.com/gogf/gf. package clickhouse import ( "context" "database/sql" "git.magicany.cc/black1552/gin-base/database" ) // DoUpdate does "UPDATE ... " statement for the table. func (d *Driver) DoUpdate(ctx context.Context, link database.Link, table string, data any, condition string, args ...any) (result sql.Result, err error) { ctx = d.injectNeedParsedSql(ctx) return d.Core.DoUpdate(ctx, link, table, data, condition, args...) }