Skip to content
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

Make Select reset slice length #1

Closed
wants to merge 1 commit into from

Conversation

gayoungpark
Copy link

For https://www.pivotaltracker.com/story/show/178404306.

This fixes issue jmoiron#744 by changing sqlx's Select function to reset slices before appending to them.

@gayoungpark gayoungpark requested a review from cespare August 11, 2021 23:14
sqlx.go Outdated Show resolved Hide resolved
sqlx_test.go Outdated Show resolved Hide resolved
@gayoungpark gayoungpark force-pushed the gpark.sqlx.reset-slice branch from dfc2c28 to 5287c82 Compare August 12, 2021 03:03
gayoungpark pushed a commit that referenced this pull request Aug 19, 2021
Remove wrong comment in code example in readme
@gayoungpark gayoungpark force-pushed the gpark.sqlx.reset-slice branch from 5287c82 to 421d1cd Compare August 19, 2021 22:59
@gayoungpark
Copy link
Author

I'm going to close this PR since it's served it's purpose for code review and for opening jmoiron#767.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants