Ticket #10390: exact_null_safe.diff
File exact_null_safe.diff, 497 bytes (added by , 16 years ago) |
---|
-
db/backends/mysql/base.py
class DatabaseOperations(BaseDatabaseOpe 216 217 class DatabaseWrapper(BaseDatabaseWrapper): 217 218 218 219 operators = { 219 'exact': ' = %s',220 'exact': '<=> %s', # null-safe equal to 220 221 'iexact': 'LIKE %s', 221 222 'contains': 'LIKE BINARY %s', 222 223 'icontains': 'LIKE %s',