class documentation

class BaseDatabaseFeatures:

Known subclasses: django.db.backends.dummy.features.DummyDatabaseFeatures, django.db.backends.mysql.features.DatabaseFeatures, django.db.backends.oracle.features.DatabaseFeatures, django.db.backends.postgresql.features.DatabaseFeatures, django.db.backends.sqlite3.features.DatabaseFeatures

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method allows​_group​_by​_selected​_pks​_on​_model Undocumented
Class Variable allow​_sliced​_subqueries​_with​_in Undocumented
Class Variable allows​_auto​_pk​_0 Undocumented
Class Variable allows​_group​_by​_lob Undocumented
Class Variable allows​_group​_by​_pk Undocumented
Class Variable allows​_group​_by​_selected​_pks Undocumented
Class Variable allows​_multiple​_constraints​_on​_same​_fields Undocumented
Class Variable atomic​_transactions Undocumented
Class Variable bare​_select​_suffix Undocumented
Class Variable can​_clone​_databases Undocumented
Class Variable can​_create​_inline​_fk Undocumented
Class Variable can​_defer​_constraint​_checks Undocumented
Class Variable can​_distinct​_on​_fields Undocumented
Class Variable can​_introspect​_check​_constraints Undocumented
Class Variable can​_introspect​_default Undocumented
Class Variable can​_introspect​_foreign​_keys Undocumented
Class Variable can​_introspect​_json​_field Undocumented
Class Variable can​_introspect​_materialized​_views Undocumented
Class Variable can​_release​_savepoints Undocumented
Class Variable can​_return​_columns​_from​_insert Undocumented
Class Variable can​_return​_rows​_from​_bulk​_insert Undocumented
Class Variable can​_rollback​_ddl Undocumented
Class Variable can​_use​_chunked​_reads Undocumented
Class Variable collate​_as​_index​_expression Undocumented
Class Variable connection​_persists​_old​_columns Undocumented
Class Variable create​_test​_procedure​_with​_int​_param​_sql Undocumented
Class Variable create​_test​_procedure​_without​_params​_sql Undocumented
Class Variable django​_test​_expected​_failures Undocumented
Class Variable django​_test​_skips Undocumented
Class Variable empty​_fetchmany​_value Undocumented
Class Variable for​_update​_after​_from Undocumented
Class Variable gis​_enabled Undocumented
Class Variable greatest​_least​_ignores​_nulls Undocumented
Class Variable has​_bulk​_insert Undocumented
Class Variable has​_case​_insensitive​_like Undocumented
Class Variable has​_json​_object​_function Undocumented
Class Variable has​_json​_operators Undocumented
Class Variable has​_native​_duration​_field Undocumented
Class Variable has​_native​_json​_field Undocumented
Class Variable has​_native​_uuid​_field Undocumented
Class Variable has​_real​_datatype Undocumented
Class Variable has​_select​_for​_no​_key​_update Undocumented
Class Variable has​_select​_for​_update Undocumented
Class Variable has​_select​_for​_update​_nowait Undocumented
Class Variable has​_select​_for​_update​_of Undocumented
Class Variable has​_select​_for​_update​_skip​_locked Undocumented
Class Variable has​_zoneinfo​_database Undocumented
Class Variable ignores​_table​_name​_case Undocumented
Class Variable ignores​_unnecessary​_order​_by​_in​_subqueries Undocumented
Class Variable implied​_column​_null Undocumented
Class Variable indexes​_foreign​_keys Undocumented
Class Variable interprets​_empty​_strings​_as​_nulls Undocumented
Class Variable introspected​_field​_types Undocumented
Class Variable json​_key​_contains​_list​_matching​_requires​_list Undocumented
Class Variable max​_query​_params Undocumented
Class Variable nulls​_order​_largest Undocumented
Class Variable only​_supports​_unbounded​_with​_preceding​_and​_following Undocumented
Class Variable order​_by​_nulls​_first Undocumented
Class Variable related​_fields​_match​_type Undocumented
Class Variable requires​_casted​_case​_in​_updates Undocumented
Class Variable requires​_explicit​_null​_ordering​_when​_grouping Undocumented
Class Variable requires​_literal​_defaults Undocumented
Class Variable select​_for​_update​_of​_column Undocumented
Class Variable supported​_explain​_formats Undocumented
Class Variable supports​_aggregate​_filter​_clause Undocumented
Class Variable supports​_atomic​_references​_rename Undocumented
Class Variable supports​_boolean​_expr​_in​_select​_clause Undocumented
Class Variable supports​_callproc​_kwargs Undocumented
Class Variable supports​_cast​_with​_precision Undocumented
Class Variable supports​_collation​_on​_charfield Undocumented
Class Variable supports​_collation​_on​_textfield Undocumented
Class Variable supports​_column​_check​_constraints Undocumented
Class Variable supports​_combined​_alters Undocumented
Class Variable supports​_covering​_indexes Undocumented
Class Variable supports​_date​_lookup​_using​_string Undocumented
Class Variable supports​_default​_in​_lead​_lag Undocumented
Class Variable supports​_deferrable​_unique​_constraints Undocumented
Class Variable supports​_expression​_indexes Undocumented
Class Variable supports​_foreign​_keys Undocumented
Class Variable supports​_forward​_references Undocumented
Class Variable supports​_frame​_range​_fixed​_distance Undocumented
Class Variable supports​_functions​_in​_partial​_indexes Undocumented
Class Variable supports​_ignore​_conflicts Undocumented
Class Variable supports​_index​_column​_ordering Undocumented
Class Variable supports​_index​_on​_text​_field Undocumented
Class Variable supports​_json​_field Undocumented
Class Variable supports​_json​_field​_contains Undocumented
Class Variable supports​_mixed​_date​_datetime​_comparisons Undocumented
Class Variable supports​_non​_deterministic​_collations Undocumented
Class Variable supports​_nullable​_unique​_constraints Undocumented
Class Variable supports​_order​_by​_nulls​_modifier Undocumented
Class Variable supports​_over​_clause Undocumented
Class Variable supports​_paramstyle​_pyformat Undocumented
Class Variable supports​_parentheses​_in​_compound Undocumented
Class Variable supports​_partial​_indexes Undocumented
Class Variable supports​_partially​_nullable​_unique​_constraints Undocumented
Class Variable supports​_primitives​_in​_json​_field Undocumented
Class Variable supports​_regex​_backreferencing Undocumented
Class Variable supports​_select​_difference Undocumented
Class Variable supports​_select​_for​_update​_with​_limit Undocumented
Class Variable supports​_select​_intersection Undocumented
Class Variable supports​_select​_union Undocumented
Class Variable supports​_sequence​_reset Undocumented
Class Variable supports​_slicing​_ordering​_in​_compound Undocumented
Class Variable supports​_subqueries​_in​_group​_by Undocumented
Class Variable supports​_table​_check​_constraints Undocumented
Class Variable supports​_tablespaces Undocumented
Class Variable supports​_temporal​_subtraction Undocumented
Class Variable supports​_timezones Undocumented
Class Variable supports​_unspecified​_pk Undocumented
Class Variable test​_collations Undocumented
Class Variable test​_db​_allows​_multiple​_connections Undocumented
Class Variable test​_now​_utc​_template Undocumented
Class Variable time​_cast​_precision Undocumented
Class Variable truncates​_names Undocumented
Class Variable update​_can​_self​_select Undocumented
Class Variable uses​_savepoints Undocumented
Class Variable validates​_explain​_options Undocumented
Instance Variable connection Undocumented
Property supports​_explaining​_query​_execution Does this backend support explaining query execution?
Property supports​_transactions Confirm support for transactions.
def __init__(self, connection):

Undocumented

def allows_group_by_selected_pks_on_model(self, model):

Undocumented

allow_sliced_subqueries_with_in: bool =
allows_auto_pk_0: bool =
allows_group_by_lob: bool =
allows_group_by_pk: bool =
allows_group_by_selected_pks: bool =
allows_multiple_constraints_on_same_fields: bool =
bare_select_suffix: str =
can_create_inline_fk: bool =
can_distinct_on_fields: bool =
can_introspect_check_constraints: bool =
can_introspect_default: bool =

Undocumented

can_introspect_foreign_keys: bool =
can_use_chunked_reads: bool =
collate_as_index_expression: bool =
connection_persists_old_columns: bool =

Undocumented

django_test_expected_failures: set =
empty_fetchmany_value: list =
for_update_after_from: bool =

Undocumented

gis_enabled: bool =

Undocumented

greatest_least_ignores_nulls: bool =
has_bulk_insert: bool =

Undocumented

has_json_object_function: bool =
has_json_operators: bool =
has_native_json_field: bool =
has_native_uuid_field: bool =
has_real_datatype: bool =
has_select_for_no_key_update: bool =
has_zoneinfo_database: bool =
ignores_unnecessary_order_by_in_subqueries: bool =
implied_column_null: bool =

Undocumented

indexes_foreign_keys: bool =

Undocumented

interprets_empty_strings_as_nulls: bool =
json_key_contains_list_matching_requires_list: bool =
only_supports_unbounded_with_preceding_and_following: bool =
related_fields_match_type: bool =
requires_casted_case_in_updates: bool =
requires_explicit_null_ordering_when_grouping: bool =
requires_literal_defaults: bool =
select_for_update_of_column: bool =
supports_atomic_references_rename: bool =
supports_boolean_expr_in_select_clause: bool =
supports_callproc_kwargs: bool =
supports_cast_with_precision: bool =
supports_collation_on_charfield: bool =
supports_collation_on_textfield: bool =
supports_column_check_constraints: bool =
supports_covering_indexes: bool =
supports_date_lookup_using_string: bool =
supports_default_in_lead_lag: bool =
supports_deferrable_unique_constraints: bool =
supports_expression_indexes: bool =
supports_foreign_keys: bool =

Undocumented

supports_forward_references: bool =
supports_functions_in_partial_indexes: bool =
supports_ignore_conflicts: bool =
supports_index_column_ordering: bool =
supports_mixed_date_datetime_comparisons: bool =
supports_non_deterministic_collations: bool =
supports_nullable_unique_constraints: bool =

Undocumented

supports_order_by_nulls_modifier: bool =
supports_paramstyle_pyformat: bool =
supports_parentheses_in_compound: bool =
supports_partially_nullable_unique_constraints: bool =
supports_primitives_in_json_field: bool =
supports_regex_backreferencing: bool =
supports_select_difference: bool =
supports_select_for_update_with_limit: bool =
supports_select_intersection: bool =
supports_select_union: bool =

Undocumented

supports_sequence_reset: bool =
supports_subqueries_in_group_by: bool =
supports_table_check_constraints: bool =
supports_unspecified_pk: bool =
test_db_allows_multiple_connections: bool =
time_cast_precision: int =
truncates_names: bool =
update_can_self_select: bool =
uses_savepoints: bool =
validates_explain_options: bool =
connection =

Undocumented

@cached_property
supports_explaining_query_execution =
Does this backend support explaining query execution?