python-oracledb icon indicating copy to clipboard operation
python-oracledb copied to clipboard

AsyncCursor does not have a scroll function while Cursor does

Open luigi311 opened this issue 1 year ago • 2 comments

  1. Describe your new request in detail AsyncCursor does not have a scroll function so while you can make the asynccursor scrollable theres no way to actually make use of it. Cursor does have a scroll function, can we get something similar created for the async side of things?

  2. Give supporting information about tools and operating systems. Give relevant product version numbers

luigi311 avatar Jul 20 '24 14:07 luigi311

It isn't supported in thin mode, either, so that needs to be done first. We will add it to the list of things to implement.

anthony-tuininga avatar Jul 24 '24 02:07 anthony-tuininga

thank you very much! For now i went with just using threads to handle multiple queries and using the blocking thick client so i can use scroll.

luigi311 avatar Jul 24 '24 06:07 luigi311

I have pushed a patch that implements this enhancement and have initated a build from which you can download pre-built development wheels once it completes. You can also build from source if you prefer. If you can test your scenario and confirm the patch works as expected, that would be appreciated!

anthony-tuininga avatar Mar 25 '25 17:03 anthony-tuininga

This was included in python-oracledb 3.1.0 which was just released.

anthony-tuininga avatar Apr 03 '25 18:04 anthony-tuininga