MCPcopy Index your code
hub / github.com/sqlalchemy/sqlalchemy / __init__

Method __init__

lib/sqlalchemy/sql/dml.py:292–311  ·  view source on GitHub ↗
(
        self,
        statement: Insert,
        compiler: SQLCompiler,
        disable_implicit_returning: bool = False,
        **kw: Any,
    )

Source from the content-addressed store, hash-verified

290 _has_multi_parameters = False
291
292 def __init__(
293 self,
294 statement: Insert,
295 compiler: SQLCompiler,
296 disable_implicit_returning: bool = False,
297 **kw: Any,
298 ):
299 self.statement = statement
300 self._primary_table = statement.table
301
302 if disable_implicit_returning:
303 self._supports_implicit_returning = False
304
305 self.isinsert = True
306 if statement._select_names:
307 self._process_select_values(statement)
308 if statement._values is not None:
309 self._process_values(statement)
310 if statement._multi_values:
311 self._process_multi_values(statement)
312
313 @util.memoized_property
314 def _insert_col_keys(self) -> List[str]:

Callers

nothing calls this directly

Calls 3

_process_valuesMethod · 0.95
_process_multi_valuesMethod · 0.95

Tested by

no test coverage detected