File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
django/db/backends/oracle Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -396,16 +396,16 @@ class DatabaseWrapper(BaseDatabaseWrapper):
396
396
operators = {
397
397
'exact' : '= %s' ,
398
398
'iexact' : '= UPPER(%s)' ,
399
- 'contains' : "LIKE %s ESCAPE '\\ '" ,
400
- 'icontains' : "LIKE UPPER(%s) ESCAPE '\\ '" ,
399
+ 'contains' : "LIKEC %s ESCAPE '\\ '" ,
400
+ 'icontains' : "LIKEC UPPER(%s) ESCAPE '\\ '" ,
401
401
'gt' : '> %s' ,
402
402
'gte' : '>= %s' ,
403
403
'lt' : '< %s' ,
404
404
'lte' : '<= %s' ,
405
- 'startswith' : "LIKE %s ESCAPE '\\ '" ,
406
- 'endswith' : "LIKE %s ESCAPE '\\ '" ,
407
- 'istartswith' : "LIKE UPPER(%s) ESCAPE '\\ '" ,
408
- 'iendswith' : "LIKE UPPER(%s) ESCAPE '\\ '" ,
405
+ 'startswith' : "LIKEC %s ESCAPE '\\ '" ,
406
+ 'endswith' : "LIKEC %s ESCAPE '\\ '" ,
407
+ 'istartswith' : "LIKEC UPPER(%s) ESCAPE '\\ '" ,
408
+ 'iendswith' : "LIKEC UPPER(%s) ESCAPE '\\ '" ,
409
409
}
410
410
oracle_version = None
411
411
You can’t perform that action at this time.
0 commit comments