pashagolub / pgxmock

pgx mock driver for golang to test database interactions
Other
386 stars 49 forks source link

Extend support for batch operation mocking / assertions #150

Closed sweep-ai[bot] closed 1 year ago

sweep-ai[bot] commented 1 year ago

Description

This PR extends the support for batch operation mocking and assertions in the pgxmock package. It modifies the SendBatch method to allow mocking and asserting batch operations. Additionally, it adds tests to ensure the correctness of the new functionality.

Summary

Fixes #149.


To checkout this PR branch, run the following command in your terminal:

git checkout sweep/extend-batch-mocking

To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR.