-
Notifications
You must be signed in to change notification settings - Fork 122
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
batch insert questions #123
Comments
Can you attach a runnable program exhibiting this? |
func BenchmarkBatchSet(b *testing.B) { |
So let me see if I get this straight. You want to execute the same query several times in a batch with different values for each query in the batch. Since Batch is effectively treats many queries masked as a single query what bind does is that it applies the same bound values for each query in the batch. Every I guess arguments could be made for changing the behavior but I have no idea how complicated an implementation would be and changing the API is probably not a good idea so some other method would be needed in that case. |
Simply, I just want to test the batch command like mget or mset in redis. |
Duplicate of #110 |
I write the Batch Function for testing batch.
However, the values are not expected. I expect the value [0 1 2 1 2 3], but [1 2 3 1 2 3]
The text was updated successfully, but these errors were encountered: