Answer the question
In order to leave comments, you need to log in
Is it possible to correctly receive the results of several queries simultaneously in one transaction?
The bottom line is this: there are a bunch of goroutines in which something like tx.Stmtx(request).QueryRow(values...).Scan(&result), tx is a common variable for all goroutines, and the problem is that sometimes it starts to appear "unexpected Bind response 'D'" error, is there a way to get rid of it? (except for the obvious case with a transaction mutex)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question