mirror of https://github.com/django/django.git
Fixed typo in BulkInsertMapper constant name.
This commit is contained in:
parent
dc890bef5a
commit
67e7dffe95
|
@ -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,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue