| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Plausible. I'm not a fan of changing the function signature based on the argument though. I think this should be a separate method, e.g. fetchmany or something like that (though could be somewhat confusing for DB-API users). |
Sorry, something went wrong.
|
Ability to return values added as fetchmany in #1175. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes #448
This is a proposed change to support executemany with INSERT ... RETURNING.
The PR adds a flag parameter to executemany, but adding a seperate method like fetchmany was also mentioned.
@elprans would you consider something along those lines? I think the value here is allowing to take advantage of the query pipelining from executemany while avoiding the limitations of the proposed workarounds (like DEFAULT as mentioned in your stackoverflow post)