MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / DefaultDialect

Class DefaultDialect

lib/sqlalchemy/engine/default.py:120–1180  ·  view source on GitHub ↗

Default implementation of Dialect

Source from the content-addressed store, hash-verified

118
119
120class DefaultDialect(Dialect):
121 """Default implementation of Dialect"""
122
123 statement_compiler = compiler.SQLCompiler
124 ddl_compiler = compiler.DDLCompiler
125 type_compiler_cls = compiler.GenericTypeCompiler
126
127 preparer = compiler.IdentifierPreparer
128 supports_alter = True
129 supports_comments = False
130 supports_constraint_comments = False
131 inline_comments = False
132 supports_statement_cache = True
133
134 div_is_floordiv = True
135
136 bind_typing = interfaces.BindTyping.NONE
137
138 include_set_input_sizes: Optional[Set[Any]] = None
139 exclude_set_input_sizes: Optional[Set[Any]] = None
140
141 # the first value we'd get for an autoincrement column.
142 default_sequence_base = 1
143
144 # most DBAPIs happy with this for execute().
145 # not cx_oracle.
146 execute_sequence_format = tuple
147
148 supports_schemas = True
149 supports_views = True
150 supports_sequences = False
151 sequences_optional = False
152 preexecute_autoincrement_sequences = False
153 supports_identity_columns = False
154 postfetch_lastrowid = True
155 favor_returning_over_lastrowid = False
156 insert_null_pk_still_autoincrements = False
157 update_returning = False
158 delete_returning = False
159 update_returning_multifrom = False
160 delete_returning_multifrom = False
161 insert_returning = False
162
163 cte_follows_insert = False
164
165 supports_native_enum = False
166 supports_native_boolean = False
167 supports_native_uuid = False
168 returns_native_bytes = False
169
170 non_native_boolean_check_constraint = True
171
172 supports_simple_order_by_label = True
173
174 tuple_in_values = False
175
176 connection_characteristics = util.immutabledict(
177 {

Callers 1

_compile_dialectMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected