class documentation
class ReadOnlyColumnCollection(util.ReadOnlyContainer, ColumnCollection[
Undocumented
Method | __getstate__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | __setstate__ |
Undocumented |
Method | add |
Add a column to this :class:`_sql.ColumnCollection`. |
Method | extend |
Undocumented |
Method | remove |
Undocumented |
Class Variable | __slots__ |
Undocumented |
Inherited from ColumnCollection
:
Method | __bool__ |
Undocumented |
Method | __clause |
Undocumented |
Method | __contains__ |
Undocumented |
Method | __delitem__ |
Undocumented |
Method | __eq__ |
Undocumented |
Method | __getattr__ |
Undocumented |
Method | __getitem__ |
Undocumented |
Method | __iter__ |
Undocumented |
Method | __len__ |
Undocumented |
Method | __setattr__ |
Undocumented |
Method | __setitem__ |
Undocumented |
Method | __str__ |
Undocumented |
Method | as |
Return a "read only" form of this :class:`_sql.ColumnCollection`. |
Method | clear |
Dictionary clear() is not implemented for :class:`_sql.ColumnCollection`. |
Method | compare |
Compare this :class:`_expression.ColumnCollection` to another based on the names of the keys |
Method | contains |
Checks if a column object exists in this collection |
Method | corresponding |
Given a :class:`_expression.ColumnElement`, return the exported :class:`_expression.ColumnElement` object from this :class:`_expression.ColumnCollection` which corresponds to that original :class:`_expression... |
Method | get |
Get a :class:`_sql.ColumnClause` or :class:`_schema.Column` object based on a string key name from this :class:`_expression.ColumnCollection`. |
Method | items |
Return a sequence of (key, column) tuples for all columns in this collection each consisting of a string key name and a :class:`_sql.ColumnClause` or :class:`_schema.Column` object. |
Method | keys |
Return a sequence of string key names for all columns in this collection. |
Method | update |
Dictionary update() is not implemented for :class:`_sql.ColumnCollection`. |
Method | values |
Return a sequence of :class:`_sql.ColumnClause` or :class:`_schema.Column` objects for all columns in this collection. |
Class Variable | __hash__ |
Undocumented |
Method | _init |
populate the "proxy index", if empty. |
Method | _initial |
Undocumented |
Method | _populate |
populate from an iterator of (key, column) |
Class Variable | _collection |
Undocumented |
Class Variable | _colset |
Undocumented |
Class Variable | _index |
Undocumented |
Class Variable | _proxy |
Undocumented |
Property | _all |
Undocumented |
overrides
sqlalchemy.sql.base.ColumnCollection.add
Add a column to this :class:`_sql.ColumnCollection`. .. note:: This method is **not normally used by user-facing code**, as the :class:`_sql.ColumnCollection` is usually part of an existing object such as a :class:`_schema.Table`. To add a :class:`_schema.Column` to an existing :class:`_schema.Table` object, use the :meth:`_schema.Table.append_column` method.