Replies: 1 comment 6 replies
-
Yes, unfortunately, |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Details
I may be misusing the library, so correct me if I am wrong. But I would like to write unit tests for functions that queue batches and then send the batch at the end. I would like to assert on the Updates/Insertions that are executed.
It seems to me like this is not currently supported as the SendBatch method does basically nothing:
Best assertion I can do is assert that the queued batch length is greater than 0.
Checklist
pgxmock.go
pgxmock_test.go
Beta Was this translation helpful? Give feedback.
All reactions