Fixed typo in BulkInsertMapper constant name.

This commit is contained in:
Mariusz Felisiak 2019-10-01 14:46:10 +02:00
parent dc890bef5a
commit 67e7dffe95
1 changed files with 2 additions and 2 deletions

View File

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