-
Notifications
You must be signed in to change notification settings - Fork 93
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
returning column problem in update or insert sql #78
Comments
Can you share the code you're using to do this? |
Sorry to trouble you, I got the reason, there is a mistake in my codes. |
There's another problem, when I delete a non exist record in database: |
I'm kinda undecided on the behavior but I think it's safer to leave it as is. |
When I run INSERT or UPDATE sql with returning some columns, the result only contains affected_rows, I cannot find returned columns in my sql.
such as:
update t1 set name='b' where id=1 returning id,name;
The text was updated successfully, but these errors were encountered: