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

使用 insert对ClickHouse进行新增操作 ,插入一条数据成功后,拿不到count,而且err!=nil #156

Closed
roseqin368 opened this issue Oct 8, 2021 · 0 comments

Comments

@roseqin368
Copy link

   orm, err := m.GetOrm(dbName)
if err != nil {
	return
}
orm.Begin()
count, err = orm.Table("games").Insert(data)
    //err===> RowsAffected is not supported
    //count===> 0
orm.Commit()
return
@fizzday fizzday closed this as completed Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants