MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _as_readonly

Method _as_readonly

lib/sqlalchemy/sql/base.py:2177–2178  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2175 self._index[colkey] = (colkey, _column)
2176
2177 def _as_readonly(self) -> ReadOnlyColumnCollection[_COLKEY, _COL_co]:
2178 return ReadOnlyColumnCollection(self)
2179
2180 def as_readonly(self) -> ReadOnlyColumnCollection[_COLKEY, _COL_co]:
2181 """Return a "read only" form of this

Callers 1

as_readonlyMethod · 0.95

Calls 1

Tested by

no test coverage detected