[3.0.x] Fixed typo in BulkInsertMapper constant name.

Backport of 67e7dffe95 from master
This commit is contained in:
Mariusz Felisiak 2019-10-01 14:46:10 +02:00
parent 9dc13f41b5
commit 40efffafd9
1 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ class Oracle_datetime(datetime.datetime):
class BulkInsertMapper:
BLOB = 'TO_BLOB(%s)'
CBLOB = 'TO_CLOB(%s)'
CLOB = 'TO_CLOB(%s)'
DATE = 'TO_DATE(%s)'
INTERVAL = 'CAST(%s as INTERVAL DAY(9) TO SECOND(6))'
NUMBER = 'TO_NUMBER(%s)'
@ -71,6 +71,6 @@ class BulkInsertMapper:
'PositiveIntegerField': NUMBER,
'PositiveSmallIntegerField': NUMBER,
'SmallIntegerField': NUMBER,
'TextField': CBLOB,
'TextField': CLOB,
'TimeField': TIMESTAMP,
}