You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: session_cols_test.go
    path of file: ./repos/xorm/integrations
    
    the code of the file until where you have to start completion: // Copyright 2017 The Xorm Authors. All rights reserved.
// Use of th
    
func TestSetExpr(t *testing.T) {
	assert.NoError(t, PrepareEngine())

	type UserExprIssue struct {
		Id    int64
		Title string
	}

	assert.NoError(t, testEngine.Sync2(new(UserExprIssue)))

	var issue = UserExprIssue{
		Title: "my issue",
	}
	cnt, err := testEngine.Insert(&issue)
	assert.NoError(t, err)
	assert.EqualValues(t, 1, cnt)
	assert.EqualValues(t, 1, issue.Id)

	type UserExpr struct {
		Id      int64
		IssueId int64 `xorm:"index"`
		Show    bool
	}

	assert.NoError(t, testEngine.Sync2(new(UserExpr)))

	cnt, err = testEngine.Insert(&UserExpr{
		Show: true,
	})
	assert.NoError(t, err)
	assert.EqualValues(t, 1, cnt)

	var not = "NOT"
	if testEngine.Dialect().URI().DBType == schemas.MSSQL {
		not = "~"
	}
	cnt, err = testEngine.SetExpr("show", not+" `show`").ID(1).Update(new(UserExpr))
	assert.NoError(t, err)
	assert.EqualValues(t, 1, cnt)

	tableName := testEngine.TableName(new(UserExprIssue), true)
	cnt, err = testEngine.SetExpr("issue_id",
		builder.Select("id").
			From(tableName).
			Where(builder.Eq{"id": issue.Id})).
		ID(1).
		Update(new(UserExpr))
	assert.NoError(t, err)
	assert.EqualValues(t, 1, cnt)
}