0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00

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

View File

@ -54,7 +54,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)'
@ -74,6 +74,6 @@ class BulkInsertMapper:
'PositiveIntegerField': NUMBER,
'PositiveSmallIntegerField': NUMBER,
'SmallIntegerField': NUMBER,
'TextField': CBLOB,
'TextField': CLOB,
'TimeField': TIMESTAMP,
}