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:
parent
dc890bef5a
commit
67e7dffe95
@ -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,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user