MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _as_dml_column

Function _as_dml_column

lib/sqlalchemy/sql/crud.py:77–82  ·  view source on GitHub ↗
(c: ColumnElement[Any])

Source from the content-addressed store, hash-verified

75
76
77def _as_dml_column(c: ColumnElement[Any]) -> ColumnClause[Any]:
78 if not isinstance(c, ColumnClause):
79 raise exc.CompileError(
80 f"Can't create DML statement against column expression {c!r}"
81 )
82 return c
83
84
85_CrudParamElement = Tuple[

Callers 1

_get_crud_paramsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected