This repository has been archived by the owner on Mar 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
False positives with Postgres RETURNING queries #12
Comments
MySQL add
|
I have run into the same false positive with Postgres. Not sure what MySQL versioning has to do with it? |
Well, I would say @lufeee means that may be the MySQL problem as well. However, I think this is deeper problem than this because if the first argument of a query is function, this static check always shows falls positive. I would recommend that if test is not absolutely sure, better to show negative. |
I did so but just wanted to report the bug. Thank you. |
OK Thanks for reporting! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Postgres queries have options to return values in INSERT and UPDATE queries. It is false positive to replace Query or QueryRow with Execute in such cases.
The text was updated successfully, but these errors were encountered: