You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

32 lines
1.1 KiB

  1. from django.db.backends.base.features import BaseDatabaseFeatures
  2. from django.db.utils import InterfaceError
  3. class DatabaseFeatures(BaseDatabaseFeatures):
  4. allows_group_by_selected_pks = True
  5. can_return_id_from_insert = True
  6. has_real_datatype = True
  7. has_native_uuid_field = True
  8. has_native_duration_field = True
  9. driver_supports_timedelta_args = True
  10. can_defer_constraint_checks = True
  11. has_select_for_update = True
  12. has_select_for_update_nowait = True
  13. has_bulk_insert = True
  14. uses_savepoints = True
  15. can_release_savepoints = True
  16. supports_tablespaces = True
  17. supports_transactions = True
  18. can_introspect_autofield = True
  19. can_introspect_ip_address_field = True
  20. can_introspect_small_integer_field = True
  21. can_distinct_on_fields = True
  22. can_rollback_ddl = True
  23. supports_combined_alters = True
  24. nulls_order_largest = True
  25. closed_cursor_error_class = InterfaceError
  26. has_case_insensitive_like = False
  27. requires_sqlparse_for_splitting = False
  28. greatest_least_ignores_nulls = True
  29. can_clone_databases = True