func (*DB) ExecContext¶
func (db *DB) ExecContext(ctx context.Context, query string, args ...interface{}) (Result, error)
ExecContext 使用提供的上下文执行一个SQL而不返回任何行。 args 用于SQL语句中的任何占位符参数。
func (db *DB) ExecContext(ctx context.Context, query string, args ...interface{}) (Result, error)
ExecContext 使用提供的上下文执行一个SQL而不返回任何行。 args 用于SQL语句中的任何占位符参数。