Closed kmpm closed 9 months ago
Attention: 19 lines
in your changes are missing coverage. Please review.
Comparison is base (
80c2cc6
) 82.74% compared to head (40f2666
) 80.41%.
Files | Patch % | Lines |
---|---|---|
dbscan/dbscan.go | 33.33% | 13 Missing and 1 partial :warning: |
pgxscan/pgxscan.go | 0.00% | 3 Missing :warning: |
sqlscan/sqlscan.go | 50.00% | 2 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Hi @kmpm, thank you for adding this new feature to the library. The code and tests look great.
Let me think about it from the design point of view for a bit, though. If I have any questions, I will let you know.
@georgysavva, you closed the issue I was refering to as completed so I kind of hoped you would have accepted the PR, but no. How can I be of assistance to get this PR merged, or can I help to fix something similar, compatible with multiple result sets, with another design.
@kmpm, thank you for your work, and sorry for taking so much time to merge your PR. Here is the new release containing this feature: https://github.com/georgysavva/scany/releases/tag/v2.1.0
I made a new function in the API for getting all result sets from sql.Rows. My use case for this is a 3rd party application that uses mssql and have stored procedures returning multiple different results. Possibly also a solution for #114
Tests can be run if you have a Sql Server up an running somewhere and run the tests with the tag
with_mssql
.