MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / with_dialect_options

Method with_dialect_options

lib/sqlalchemy/sql/dml.py:484–497  ·  lib/sqlalchemy/sql/dml.py::UpdateBase.with_dialect_options

Add dialect options to this INSERT/UPDATE/DELETE object. e.g.:: upd = table.update().dialect_options(mysql_limit=10) .. versionadded:: 1.4 - this method supersedes the dialect options associated with the constructor.

(self, **opt: Any)

Source from the content-addressed store, hash-verified

482
483 @_generative
484 def with_dialect_options(self, **opt: Any) -> Self:
485 class="st">"""Add dialect options to this INSERT/UPDATE/DELETE object.
486
487 e.g.::
488
489 upd = table.update().dialect_options(mysql_limit=10)
490
491 .. versionadded:: 1.4 - this method supersedes the dialect options
492 associated with the constructor.
493
494
495 class="st">"""
496 self._validate_dialect_kwargs(opt)
497 return self
498
499 @_generative
500 def return_defaults(

Calls 1