I remember having the same exact issue and I what I did was to copy the implementation from dict cursor and kind of mock it that way.
Spoiler alert: In my particular case, the performance was terrible because the dict cursor basically copies the data into a dictionary one result row at the time, while this happens the mysql connection remains open and the performance of the copy operation itself was terrible, at least for the result set I was working with (this might be different in your particular use case/dataset).
No comments:
Post a Comment