Updated cx_Oracle arraysize comment.
This commit is contained in:
parent
78619bcb0a
commit
eca6f91be2
@ -387,7 +387,7 @@ class FormatStylePlaceholderCursor:
|
|||||||
self.cursor = connection.cursor()
|
self.cursor = connection.cursor()
|
||||||
# Necessary to retrieve decimal values without rounding error.
|
# Necessary to retrieve decimal values without rounding error.
|
||||||
self.cursor.numbersAsStrings = True
|
self.cursor.numbersAsStrings = True
|
||||||
# Default arraysize of 1 is highly sub-optimal.
|
# The default for cx_Oracle < 5.3 is 50.
|
||||||
self.cursor.arraysize = 100
|
self.cursor.arraysize = 100
|
||||||
|
|
||||||
def _format_params(self, params):
|
def _format_params(self, params):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user