MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / DefaultDialect

Class DefaultDialect

lib/sqlalchemy/engine/default.py:238–1310  ·  view source on GitHub ↗

Default implementation of Dialect

Source from the content-addressed store, hash-verified

236
237
238class DefaultDialect(Dialect):
239 """Default implementation of Dialect"""
240
241 statement_compiler = compiler.SQLCompiler
242 ddl_compiler = compiler.DDLCompiler
243 type_compiler_cls = compiler.GenericTypeCompiler
244
245 preparer = compiler.IdentifierPreparer
246 supports_alter = True
247 supports_comments = False
248 supports_constraint_comments = False
249 inline_comments = False
250 supports_statement_cache = True
251
252 div_is_floordiv = True
253
254 bind_typing = interfaces.BindTyping.NONE
255
256 include_set_input_sizes: Optional[Set[Any]] = None
257 exclude_set_input_sizes: Optional[Set[Any]] = None
258
259 # the first value we'd get for an autoincrement column.
260 default_sequence_base = 1
261
262 # most DBAPIs happy with this for execute().
263 # not cx_oracle.
264 execute_sequence_format = tuple
265
266 supports_schemas = True
267 supports_views = True
268 supports_sequences = False
269 sequences_optional = False
270 preexecute_autoincrement_sequences = False
271 supports_identity_columns = False
272 postfetch_lastrowid = True
273 favor_returning_over_lastrowid = False
274 insert_null_pk_still_autoincrements = False
275 update_returning = False
276 delete_returning = False
277 update_returning_multifrom = False
278 delete_returning_multifrom = False
279 insert_returning = False
280
281 aggregate_order_by_style = AggregateOrderByStyle.INLINE
282
283 cte_follows_insert = False
284
285 supports_native_enum = False
286 supports_native_boolean = False
287 supports_native_uuid = False
288 returns_native_bytes = False
289
290 supports_native_json_serialization = False
291 supports_native_json_deserialization = False
292 dialect_injects_custom_json_deserializer = False
293 _json_serializer: Callable[[_JSON_VALUE], str] | None = None
294
295 _json_deserializer: Callable[[str], _JSON_VALUE] | None = None

Callers 1

_compile_dialectMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected