| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
According to the node-pg issue, node-pg does not return last insert id, so can we just throw error in this case? |
Sorry, something went wrong.
| } | ||
| case "pg": { | ||
| return pg; | ||
| return pg as any; |
There was a problem hiding this comment.
Instead of marking this as any, add a execlastidDecl method to the pg and postgres drivers that raise an error.
Sorry, something went wrong.
There was a problem hiding this comment.
thanks, fixed!: 2398fb0 (#13)
Sorry, something went wrong.
| factory.createImportSpecifier( | ||
| false, | ||
| undefined, | ||
| factory.createIdentifier("ResultSetHeader") | ||
| ), |
There was a problem hiding this comment.
We should only import this if there is a execlastid query for the given file.
Sorry, something went wrong.
There was a problem hiding this comment.
fixed: 8d3fcaf (#13)
Sorry, something went wrong.
|
@kyleconroy Hi, thanks for the review. I have addressed your change requests. Please take a look 🙏 |
Sorry, something went wrong.
|
I just pushed some changes to fix the build, can you rebase on main? |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
resolve #12
Added MySQL implementation of :execlastid annotation
Needs some guide for other dialects if I have to cover all dialects to merge this.