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

exec for update does not correctly return sql.Results #1231

Closed
lmtyler opened this issue Mar 27, 2024 · 1 comment
Closed

exec for update does not correctly return sql.Results #1231

lmtyler opened this issue Mar 27, 2024 · 1 comment

Comments

@lmtyler
Copy link

lmtyler commented Mar 27, 2024

sql.Results for update is always showing RowAffected as zero updated even though the update actually happened

code included to replicate
poc.tar.gz

@lmtyler
Copy link
Author

lmtyler commented Mar 27, 2024

I figured out what the issues was. it does not work through a view, but works against the table directly

@lmtyler lmtyler closed this as completed Mar 27, 2024
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

No branches or pull requests

1 participant