Implement async query functionality (MySQL and PostgreSQL)#7227
Implement async query functionality (MySQL and PostgreSQL)#7227nacholibre wants to merge 2 commits into
Conversation
|
Hello and thank you for your pull request. I haven't found the time to review it yet, just one thing: We don't accept new features on the 3.10.x branch anymore. You will need to target our next feature release which currently is 4.5.x. |
|
There hasn't been any activity on this pull request in the past 90 days, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 7 days. |
|
This pull request was closed due to inactivity. |
| if (! $driverConnection instanceof AsyncConnection) { | ||
| throw AsyncNotSupported::driverNotSupported(get_class($driverConnection)); | ||
| } |
There was a problem hiding this comment.
This won't work because it completely ignores our middleware architecture.
|
Hello @nacholibre. I haven't heard from you since you've opend the PR. Do you want to continue working on this feature? |
Summary
Quite often I find myself needing async queries in doctrine/orm. In order to implement them first dbal needs to have that functionality.
This PR is me prototyping (consider it proof of concept) for async functionality. Just to note I've used some AI tools to help me prototype and understand the codebase.
I don't consider this as finished product, I just want to get some feedback from the maintainers if my approach is in the right direction and general thoughts about the need of such feature.
The API is as follows:
It works without the QueryBuilder as well
Thanks for your time.