MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / add_column

Method add_column

lib/sqlalchemy/orm/query.py:1649–1654  ·  view source on GitHub ↗

Add a column expression to the list of result columns to be returned.

(self, column: _ColumnExpressionArgument[Any])

Source from the content-addressed store, hash-verified

1647 "future release. Please use :meth:`_query.Query.add_columns`",
1648 )
1649 def add_column(self, column: _ColumnExpressionArgument[Any]) -> Query[Any]:
1650 """Add a column expression to the list of result columns to be
1651 returned.
1652
1653 """
1654 return self.add_columns(column)
1655
1656 @_generative
1657 def options(self, *args: ExecutableOption) -> Self:

Callers

nothing calls this directly

Calls 1

add_columnsMethod · 0.95

Tested by

no test coverage detected