Closed rostan-t closed 10 months ago
@RostanTabet : Iiuc, you are proposing to return a copy of the internal list object (_results
) instead of letting the python's in-built list
to construct a list instance by iterating through the objects. Is that right?
I am not that familiar with python internals. Does results = self._results
create a copy of the list and assign to the lhs results
variable ? Or is it just returning a reference to the list _results
?
Can you please rebase and we can merge this.
The method
Cursor.fetchall
has the following docstring :This is a performance issue and can be done more straightforwardly.